HTTP methods
One endpoint per HTTP verb. Each path accepts only its own verb, so any other verb gets 405 + Allow header.
Free: these endpoints need no account or key.
- GETPOSTPUTPATCHDELETEHEADOPTIONS
https://api.testingapis.com/api/methods/anyAccepts any verb and describes the request. - DELETE
https://api.testingapis.com/api/methods/deleteAccepts only DELETE and echoes any body sent with it. - GET
https://api.testingapis.com/api/methods/getAccepts only GET and describes the request. - HEAD
https://api.testingapis.com/api/methods/headAccepts only HEAD and answers with headers only. - OPTIONS
https://api.testingapis.com/api/methods/optionsAccepts only OPTIONS and lists the per-verb test endpoints. - PATCH
https://api.testingapis.com/api/methods/patchAccepts only PATCH and echoes the body. - POST
https://api.testingapis.com/api/methods/postAccepts only POST and echoes the body. - PUT
https://api.testingapis.com/api/methods/putAccepts only PUT and echoes the body.
Example request
Accepts only GET and describes the request. Full reference and a Send button.
cURL
curl -X GET "https://api.testingapis.com/api/methods/get"Response · 200 OK
{
"method": "GET",
"message": "GET request received",
"path": "/api/methods/get",
"query": {},
"contentType": null,
"bodyLength": 0,
"bodyTruncated": false,
"body": null,
"timestamp": "2026-09-30T18:26:36Z"
}