cURL
command. A third option is thehttp
function in the Ninox script editor.accessToken
in the HTTP Authorization
header. Content in curly brackets { }
signifies a placeholder. Both the curly brackets and the content within must be replaced for the authentication to work.application/json
in the HTTP Content-Type
representation header.2xx
range indicate success, codes in the 4xx
range indicate a client error, and codes in the 5xx
indicate a server error.200 OK
GET
: The resource has been fetched and is transmitted in the message body.HEAD
: The representation headers are included in the response without any message body.PUT
or POST
: The resource describing the result of the action is transmitted in the message body.TRACE
: The message body contains the request message as received by the server.201 Created
POST
requests, or some PUT
requests.202 Accepted
204 No Content
400 Bad Request
401 Unauthorized
403 Forbidden
401
, the client's identity is known to the server.404 Not Found
403
to hide the existence of a resource from an unauthorized client. This response code is probably the most famous one due to its frequent occurrence on the web.422 Unprocessable Entity
(WebDAV)500 Internal Server Error
501 Not Implemented
GET
and HEAD
.502 Bad Gateway