DELETE Request

Deprecated Book

Send a DELETE Request

To send a DELETE request to a specified URL, use the following syntax:

set the url to "https://api.example.com/items/12345"
send a DELETE request to the url
the request's response
set the url to "https://api.example.com/items"
set the query parameters to "{\"item_id\": \"12345\"}"
send a DELETE request to the url with
    the query parameters
the request's response
set the url to "https://api.example.com/items/12345"
set the header to "{\"Authorization\": \"Bearer <token>\"}"
send a DELETE request to the url with
    the header
the request's response

Last updated

Was this helpful?