After I see this:
POST => create a brand new object
DELETE => delete an object
PUT => modify an object
Some say issues like this methodology is Idempotent and this one is just not.
However I see that I can do all of that with POST
, the large distinction I discover is that utilizing completely different strategies permits documenting an API, organizing the code, simple communication with different APIs that observe the identical normal, and many others.
Is that appropriate? or is there one thing else? resembling Go internally treats every methodology in another way, thus far I haven’t seen Go try this, however what do I do know.
Anyway, are these verbs simply strings and the implementation is left to me? or does Go do some mischief to observe that normal?