HTTP-Methoden
Ein Endpunkt pro HTTP-Verb. Jeder Pfad nimmt nur sein eigenes Verb an, jedes andere bekommt 405 mit Allow-Header.
Kostenlos: Diese Endpunkte brauchen kein Konto.
- 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.
Beispiel-Request
Accepts only GET and describes the request. Vollständige Referenz und Send-Button (auf Englisch).
cURL
curl -X GET "https://api.testingapis.com/api/methods/get"Antwort · 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"
}