Files
http.md/docs/examples/with-multiple-requests.md
Morten Olsen bc92c91ff8 init
2025-05-18 20:01:34 +02:00

23 lines
380 B
Markdown

# Document with Multiple Requests
First, create a resource:
```http id=createUser
POST https://httpbin.org/post
Content-Type: application/json
{"username": "alpha"}
```
Then, fetch a different resource:
```http id=getItem
GET https://httpbin.org/get?item=123
```
Response from creating the user:
::response{#createUser}
Response from getting the item:
::response{#getItem}