New in 2.4: Test runs you can trust See what's new →

HTTP ステータスコード

任意の HTTP ステータスコードを、そのステータスに通常付くヘッダーとともに返します。

リクエストの例

Lists every known HTTP status code with its reason phrase and category. 完全なリファレンスと Send ボタン(英語).

cURL
curl -X GET "https://api.testingapis.com/api/status/list"
Studio で実行
レスポンス · 200 OK
[
  {
    "code": 100,
    "statusText": "Continue",
    "category": "informational",
    "supported": false,
    "url": null
  },
  {
    "code": 101,
    "statusText": "Switching Protocols",
    "category": "informational",
    "supported": false,
    "url": null
… (3 more lines)