- 最終更新
- 2026/08/17
3秒でわかる
ブラウザやアプリがサーバーへ送る要求。メソッドとURLとヘッダーとボディで「何をどうしたいか」を伝え、Webの通信はここから始まります。
30秒図解
もう少し詳しく
どういうものか
リクエストは、
なぜ必要か
Web は
具体例
POST /api/v1/orders HTTP/1.1
Host: shop.example.com
Content-Type: application/json
Authorization: Bearer eyJhbGciOi...
{"item_id": 42, "quantity": 2}await fetch("https://shop.example.com/api/v1/orders", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ item_id: 42, quantity: 2 }),
});上が
つまずきやすいところ
Content-Type を
似た用語との違い
| 用語 | 向き |
|---|---|
| リクエスト | クライアントから |
| レスポンス | サーバーから |
| エンドポイント | リクエストの |
覚え方
メソッドが


