Standard HTTP Verbs are used in relation to an API resource to communicate a desired action.
Note that because not all clients/browsers support all HTTP verbs, there are various priority orders by which the applicable verb is determined:
_methodPOST variable: Issue any request as a POST and it will be interpreted as another verb so long as that verb is specified in
REQUEST_METHOD headerrequest header
Fetch a single object or list of objects for a resource. For example, GETting
/v1/workspaces will retrieve a list of all workspace objects, while
/v1/workspaces/1 will retrieve the workspace object with an ID of 1.
Create a new object. For example, POSTing to
/v1/workspaces will create a new workspace object.
Update an existing object. For example, PUTting to
/v1/workspaces/1 will updating the existing workspace object with an ID of 1.
Delete an existing object. For example, DELETEing
/v1/workspaces/1 will delete the workspace object with an ID of 1.
Used for Cross-Origin Resource Sharing.