Skip to content

Commit

Permalink
Fixes HTML example
Browse files Browse the repository at this point in the history
  • Loading branch information
atkrad committed Mar 3, 2022
1 parent 3d0df5b commit 148ff95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ wait4x http https://ifconfig.co --expect-header "Authorization=Token\s.+"
# Note: the value in the expected JSON will be processed by gjson.
# Note: the complete response MUST be in JSON format to be processed. If one part of the response is JSON
# and the rest is something else like HTML, please use --expect-body instead.
# To know more about JSON syntax https://github.com/tidwall/gjson/blob/master/SYNTAX.md
wait4x http https://ifconfig.co/json --expect-body-json "user_agent.product"
To know more about JSON syntax https://github.com/tidwall/gjson/blob/master/SYNTAX.md

# Body XPath
wait4x http https://www.kernel.org/ --expect-body-xpath "//*[@id="tux-gear"]"
Expand Down

0 comments on commit 148ff95

Please sign in to comment.