🚰 Kitchen Sink
Delete request
The DELETE method is used to remove or delete a specific resource on the server.
It instructs the server to remove the identified resource, resulting in its permanent deletion.
Typical Usage:
DELETE requests are commonly used to delete a resource from the server.
For example,
deleting a user account, removing an item from a cart, or deleting a specific record from a database.
delete/kitchen-sink/http-methods/delete
Response
Delete request
Example response
{
"data": {
"headers": {
"accept": "*/*",
"accept-encoding": "gzip, deflate, br",
"cache-control": "no-cache",
"connection": "keep-alive",
"cookie": "accessToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2NDg5NjI2ZGMyNjVmMGFhMmRiYjczYTQiLCJlbWFpbCI6IndhamUuc2h1YmhhbTExMTJAZ21haWwuY29tIiwidXNlcm5hbWUiOiJ3YWplc2h1YmhhbTIiLCJyb2xlIjoiQURNSU4iLCJpYXQiOjE2ODY3Mjc3MjAsImV4cCI6MTY4NjgxNDEyMH0.X7DSYAaqIFVtNxqDSYWW40NNoxu-npBh0Yo7dsPIfBg; refreshToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJfaWQiOiI2NDg5NjI2ZGMyNjVmMGFhMmRiYjczYTQiLCJpYXQiOjE2ODY3Mjc3MjAsImV4cCI6MTY4NzU5MTcyMH0.sesIJ2P7EqaauA8JbNFe-7vbWMhH7uhiPn25x4zUG0I",
"host": "localhost:8080",
"postman-token": "0474647d-e133-4a80-ad6a-d0aba3c2ae6e",
"user-agent": "PostmanRuntime/7.32.2"
},
"method": "DELETE",
"origin": "::ffff:172.27.0.3",
"url": "http://localhost:8080/api/v1/kitchen-sink/http-methods/delete"
},
"message": "DELETE request",
"statusCode": 200,
"success": true
}