Files
Basalt2/node_modules/shiki/samples/http.sample
Robert Jelic 5c15cf28fa Test
2025-02-10 07:12:35 +01:00

19 lines
466 B
Plaintext

// Basic authentication
GET http://example.com
Authorization: Basic username password
###
// Digest authentication
GET http://example.com
Authorization: Digest username password
// The request body is provided in place
POST https://example.com:8080/api/html/post HTTP/1.1
Content-Type: application/json
Cookie: key=first-value
{ "key" : "value", "list": [1, 2, 3] }
// From https://www.jetbrains.com/help/idea/exploring-http-syntax.html#use-multipart-form-data