Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/request.md
Original file line number Diff line number Diff line change
Expand Up @@ -673,6 +673,11 @@ POST https://example.org/helloworld
`Hello world!`
~~~

Oneline string bodies support escape sequences. For example, `\n` represents a newline, whereas
`\\n` represents a backslash followed by `n`.

For precise byte control of a request body, use a [file body].

#### Base64 body

Base64 body is used to set binary data as the request body.
Expand Down Expand Up @@ -729,6 +734,7 @@ File are relative to the input Hurl file, and cannot contain implicit parent dir
[HTML form]: https://developer.mozilla.org/en-US/docs/Learn/Forms
[multiline string body]: #multiline-string-body
[oneline string body]: #oneline-string-body
[file body]: #file-body
[body section]: #body
[multipart/form-data on MDN]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/POST
[`--file-root` option]: /docs/manual.md#file-root
Expand Down
Loading