kjelsrud.dev/node_modules/shiki/samples/http.sample
2023-07-19 21:31:30 +02:00

16 lines
No EOL
388 B
Text

POST /my-endpoint HTTP/1.1
Host: api.example.com:8767
Authorization: Bearer my-token-value
content-type: application/json
{
"name": "sample",
"time": "Wed, 21 Oct 2015 18:27:50 GMT"
}
GET /hello.txt HTTP/1.1
User-Agent: curl/7.64.1
Host: www.example.com
Accept-Language: en, mi
# from various places and https://www.rfc-editor.org/rfc/rfc9110.html#name-example-message-exchange