diff --git a/xh/CHEATSHEET.md b/xh/CHEATSHEET.md index 9f0c2c5..de2a12f 100644 --- a/xh/CHEATSHEET.md +++ b/xh/CHEATSHEET.md @@ -11,6 +11,20 @@ description: Friendly and fast tool for sending HTTP requests ## Usage ### Sample #1 + +```shell +xh POST https://play.hatter.me/message/hook.jsonp \ + 'Authorization: Bearer TOKEN' \ + textMessageContent=test +``` +```shell +xh POST https://play.hatter.me/message/hook.jsonp \ + -A bearer \ + -a TOKEN \ + textMessageContent=test +``` + +### Sample #2 ```shell curl -X POST 'https://play.hatter.me/message/hook.jsonp?token=TOKEN' \ --header 'Content-Type: application/json' \ @@ -30,7 +44,7 @@ xh POST 'https://play.hatter.me/message/hook.jsonp' \ 'text[content]=test-message' ``` -### Sample #2 +### Sample #3 ```shell xh POST https://hatter.ink/util/print_request.action \ x-header-name:test-value \