A REST operation combines an HTTP method with the full URL to the resource. For a complete request, combine the REST operation with the appropriate HTTP headers and any required data. A REST request has a header and a body component. You can use the JSON or the XML format to define a request.