| 1 |
// Basic authentication |
| 2 |
GET http://example.com |
| 3 |
Authorization: Basic username password |
| 4 |
|
| 5 |
### |
| 6 |
|
| 7 |
// Digest authentication |
| 8 |
GET http://example.com |
| 9 |
Authorization: Digest username password |
| 10 |
|
| 11 |
// The request body is provided in place |
| 12 |
POST https://example.com:8080/api/html/post HTTP/1.1 |
| 13 |
Content-Type: application/json |
| 14 |
Cookie: key=first-value |
| 15 |
|
| 16 |
{ "key" : "value", "list": [1, 2, 3] } |
| 17 |
|
| 18 |
// From https://www.jetbrains.com/help/idea/exploring-http-syntax.html#use-multipart-form-data |
| 19 |
|