HTTP メソッド

HTTP メソッドごとに 1 つのエンドポイント。各パスは自分のメソッドだけを受け付け、それ以外には Allow ヘッダー付きの 405 を返します。

無料:これらのエンドポイントはアカウント不要です。

リクエストの例

Accepts only GET and describes the request. 完全なリファレンスと Send ボタン(英語).

cURL
curl -X GET "https://api.testingapis.com/api/methods/get"
レスポンス · 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"
}