# code-block-pro/1.27.4/build/shiki/samples/http.sample

Code Block Pro – Beautiful Syntax Highlighting, version 1.27.4. 19 lines.

- Page: https://pluginprobe.com/plugins/code-block-pro/1.27.4/code/build/shiki/samples/http.sample
- Raw: https://pluginprobe.com/plugins/code-block-pro/1.27.4/raw/build/shiki/samples/http.sample
- Modified: 2023-09-03T01:04:34+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/code-block-pro/1.27.4/code/build/shiki/samples/http.sample#L10-L20`.

```
// 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

```
