The configuration of a REST API request depends on the method that the API uses and the task that it performs.
A REST API request that uses the GET, PATCH, POST, or DELETE methods includes a request header. Based on the task it performs, it might include a request body, path parameters, and query parameters.