REST Requests

A REST request is associated with an HTTP operation and can use any of the following HTTP operations based on the type of request:

  • GET – Retrieve a resource or a collection of resources

  • POST – Create a new resource

  • PUT – Update a resource

  • DELETE – Delete a resource

Because REST for RAD supports only JSON as the content type, you must include one of the following values in the HTTP header of a REST request:

  • Set the value of the Content-Type field to application/json.

  • Set the value of the Accept field to */* or application/json.