202: Accepted
The 202 (Accepted) status code indicates that the request has been accepted for processing, but the processing has not been completed. Processing may not have started yet, the request might or might not be acted upon, and the request might be disallowed when processing actually takes place. In a PATCH or POST request, the response will contain an entity describing or containing the result of the action. This is normally a response HTTP header, Location, containing the URL of the created resource.
Code | 202 |
Description | Accepted. |
PATCH request with a response HTTP header
curl -X
PATCH "https://api.equinix.com/v2/tickets/1-188243137021"
-H "content-type: application/json"
-H "authorization: Bearer qwErtY8zyW1abcdefGHI"
-d '{
"contacts": [
{
"registeredUsers": [
"siripala@acme.com",
"somchai9"
],
"type": "NOTIFICATION"
}
]
}'
This is an example of a successful HTTP header response.
Headers | |
---|---|
Key | Value |
Location | /tickets/1-211319530862 |