HTTP methods

The REST architecture sends web service requests over HTTP, and uses HTTP verbs to do so. The supported HTTP verbs for Narwhal CMS web services are GET, POST, DELETE and PATCH.

HTTP verb Description Safe / unsafe?
GET Retrieves a specific resource Safe
POST Adds a specific resource Unsafe
DELETE Deletes a specific resource Unsafe
PATCH Modifies a specific resource Unsafe

When calling unsafe HTTP methods, you will need to specify a X-CSRF-Token request header for security reasons. See "Adding an X-CSRF-Token request header".

results matching ""

    No results matching ""