Skip to content

Commit

Permalink
Fix request variables documentation example (#241)
Browse files Browse the repository at this point in the history
  • Loading branch information
vlivanov1232 authored Sep 15, 2024
1 parent a8696b2 commit 82bf4d7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/docs/usage/request-variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ references in an http file.
# @name REQUEST_ONE
POST https://httpbin.org/post HTTP/1.1
Accept: application/json
Content-Type: application/json
{
"token": "foobar"
Expand All @@ -117,6 +118,7 @@ Accept: application/json
# @name REQUEST_TWO
POST https://httpbin.org/post HTTP/1.1
Accept: application/json
Content-Type: application/json
{
"token": "{{REQUEST_ONE.response.body.$.json.token}}"
Expand All @@ -126,6 +128,7 @@ Accept: application/json
POST https://httpbin.org/post HTTP/1.1
Accept: application/json
Content-Type: application/json
{
"date_header": "{{REQUEST_TWO.response.headers['Date']}}"
Expand Down

0 comments on commit 82bf4d7

Please sign in to comment.