From f727e15ee7b89a7350d5add775561bdd02f1733e Mon Sep 17 00:00:00 2001 From: Grzegorz Baranski Date: Mon, 5 Apr 2021 15:44:14 +0200 Subject: [PATCH] xh: fix get with a custom header example Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com> --- pages/common/xh.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/common/xh.md b/pages/common/xh.md index 9a0b55b3f..8d7f41905 100644 --- a/pages/common/xh.md +++ b/pages/common/xh.md @@ -15,9 +15,9 @@ `xh get {{httpbin.org/get}} {{id==5}} {{sort==true}}` -- Send a GET request and include a header named x-api-key with value 12345: +- Send a GET request with a custom header: -`xh get {{httpbin.org/get}} {{x-api-key:12345}}` +`xh get {{httpbin.org/get}} {{header-name:header-value}}` - Send a PUT request and pipe the result to less: