diff --git a/cheats/httpie.cheat b/cheats/httpie.cheat new file mode 100644 index 0000000..cfa5e8f --- /dev/null +++ b/cheats/httpie.cheat @@ -0,0 +1,28 @@ +% httpie, http + +# send a get http request +http + +# send a http request +http + +# send an authenticated http request +http -a : + +# send a http request with a json body +http = + +# send a http request with a form body +http -f POST = + +# send a http request and see the request as well as the response +http -v + +# send a post http request wih a body from a file +http < + +# send a http request wih a custom header +http : + +$ file: ls +$ method: echo -e 'GET\nPOST\nPUT\nDELETE\nPATCH'