diff --git a/README.md b/README.md index 922de2c00..73d84a43f 100644 --- a/README.md +++ b/README.md @@ -599,13 +599,14 @@ hurl - run and test HTTP requests. **Hurl** is an HTTP client that performs HTTP requests defined in a simple plain text format. Hurl is very versatile. It enables chaining HTTP requests, capturing values from HTTP responses, and making assertions. -``` + +```shell $ hurl session.hurl ``` If no input files are specified, input is read from stdin. -``` +```shell $ echo GET http://httpbin.org/get | hurl { "args": {}, @@ -625,7 +626,7 @@ $ echo GET http://httpbin.org/get | hurl Output goes to stdout by default. To have output go to a file, use the [`-o, --output`](#output) option: -``` +```shell $ hurl -o output input.hurl ``` @@ -633,7 +634,7 @@ By default, Hurl executes all HTTP requests and outputs the response body of the To have a test oriented output, you can use [`--test`](#test) option: -``` +```shell $ hurl --test *.hurl ``` @@ -710,7 +711,7 @@ Options specified on the command line are defined for every Hurl file's entry. For instance: -``` +```shell $ hurl --location foo.hurl ``` diff --git a/docs/manual.md b/docs/manual.md index 47170fd76..69ea32ad5 100644 --- a/docs/manual.md +++ b/docs/manual.md @@ -15,13 +15,14 @@ hurl - run and test HTTP requests. **Hurl** is an HTTP client that performs HTTP requests defined in a simple plain text format. Hurl is very versatile. It enables chaining HTTP requests, capturing values from HTTP responses, and making assertions. -``` + +```shell $ hurl session.hurl ``` If no input files are specified, input is read from stdin. -``` +```shell $ echo GET http://httpbin.org/get | hurl { "args": {}, @@ -41,7 +42,7 @@ $ echo GET http://httpbin.org/get | hurl Output goes to stdout by default. To have output go to a file, use the [`-o, --output`](#output) option: -``` +```shell $ hurl -o output input.hurl ``` @@ -49,7 +50,7 @@ By default, Hurl executes all HTTP requests and outputs the response body of the To have a test oriented output, you can use [`--test`](#test) option: -``` +```shell $ hurl --test *.hurl ``` @@ -126,7 +127,7 @@ Options specified on the command line are defined for every Hurl file's entry. For instance: -``` +```shell $ hurl --location foo.hurl ``` diff --git a/docs/manual/hurl.1 b/docs/manual/hurl.1 index cf1125903..f7c3b2375 100644 --- a/docs/manual/hurl.1 +++ b/docs/manual/hurl.1 @@ -1,4 +1,4 @@ -.TH hurl 1 "02 Sep 2022" "hurl 1.7.0-snapshot" " Hurl Manual" +.TH hurl 1 "03 Sep 2022" "hurl 1.7.0-snapshot" " Hurl Manual" .SH NAME hurl - run and test HTTP requests. @@ -16,6 +16,7 @@ hurl - run and test HTTP requests. is an HTTP client that performs HTTP requests defined in a simple plain text format. Hurl is very versatile. It enables chaining HTTP requests, capturing values from HTTP responses, and making assertions. + $ hurl session.hurl If no input files are specified, input is read from stdin. diff --git a/docs/manual/hurl.md b/docs/manual/hurl.md index d2ee432e7..e23185499 100644 --- a/docs/manual/hurl.md +++ b/docs/manual/hurl.md @@ -13,13 +13,14 @@ hurl - run and test HTTP requests. **Hurl** is an HTTP client that performs HTTP requests defined in a simple plain text format. Hurl is very versatile. It enables chaining HTTP requests, capturing values from HTTP responses, and making assertions. -``` + +```shell $ hurl session.hurl ``` If no input files are specified, input is read from stdin. -``` +```shell $ echo GET http://httpbin.org/get | hurl { "args": {}, @@ -39,7 +40,7 @@ $ echo GET http://httpbin.org/get | hurl Output goes to stdout by default. To have output go to a file, use the [`-o, --output`](#output) option: -``` +```shell $ hurl -o output input.hurl ``` @@ -47,7 +48,7 @@ By default, Hurl executes all HTTP requests and outputs the response body of the To have a test oriented output, you can use [`--test`](#test) option: -``` +```shell $ hurl --test *.hurl ``` @@ -124,7 +125,7 @@ Options specified on the command line are defined for every Hurl file's entry. For instance: -``` +```shell $ hurl --location foo.hurl ``` diff --git a/docs/manual/hurlfmt.1 b/docs/manual/hurlfmt.1 index ab07124ce..1280eda4d 100644 --- a/docs/manual/hurlfmt.1 +++ b/docs/manual/hurlfmt.1 @@ -1,4 +1,4 @@ -.TH hurl 1 "02 Sep 2022" "hurl 1.7.0-snapshot" " Hurl Manual" +.TH hurl 1 "03 Sep 2022" "hurl 1.7.0-snapshot" " Hurl Manual" .SH NAME hurlfmt - format Hurl files diff --git a/packages/hurl/README.md b/packages/hurl/README.md index 4a3427247..b4c6fa7a4 100644 --- a/packages/hurl/README.md +++ b/packages/hurl/README.md @@ -599,13 +599,14 @@ hurl - run and test HTTP requests. **Hurl** is an HTTP client that performs HTTP requests defined in a simple plain text format. Hurl is very versatile. It enables chaining HTTP requests, capturing values from HTTP responses, and making assertions. -``` + +```shell $ hurl session.hurl ``` If no input files are specified, input is read from stdin. -``` +```shell $ echo GET http://httpbin.org/get | hurl { "args": {}, @@ -625,7 +626,7 @@ $ echo GET http://httpbin.org/get | hurl Output goes to stdout by default. To have output go to a file, use the [`-o, --output`](#output) option: -``` +```shell $ hurl -o output input.hurl ``` @@ -633,7 +634,7 @@ By default, Hurl executes all HTTP requests and outputs the response body of the To have a test oriented output, you can use [`--test`](#test) option: -``` +```shell $ hurl --test *.hurl ``` @@ -710,7 +711,7 @@ Options specified on the command line are defined for every Hurl file's entry. For instance: -``` +```shell $ hurl --location foo.hurl ```