Standard Request and Response Headers

Allocation ReSTful web services have the following standard HTTP headers:

Accept:  application/xml or
        application/JSON
Accept-Language: en-US

Note:

Accept-Language is not mandatory and defaults to en-US. User can change it in case they need content in a specific language.

Depending on the type of the operation or HTTP method, the corresponding response header is updated in the HTTP response with the following codes:

  • GET/READ: 200

  • PUT/CREATE: 201 created

  • POST/UPDATE: 204

  • DELETE: 204