Last active
February 28, 2022 21:24
-
-
Save carymrobbins/ff88a97c23b40e4c74597d72e6bab67b to your computer and use it in GitHub Desktop.
Revisions
-
carymrobbins renamed this gist
Feb 28, 2022 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
carymrobbins revised this gist
Feb 28, 2022 . 2 changed files with 24 additions and 8 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,8 +0,0 @@ This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,24 @@ % curl \ -XPOST https://httpbin.org/post \ -G \ --data-urlencode foo=bar \ --data-urlencode baz=quux \ -T <(echo -n '{"spam": "eggs"}') { "args": { "baz": "quux", "foo": "bar" }, "data": "{\"spam\": \"eggs\"}", "files": {}, "form": {}, "headers": { "Accept": "*/*", "Host": "httpbin.org", }, "json": { "spam": "eggs" }, "url": "https://httpbin.org/post?foo=bar&baz=quux" } -
carymrobbins created this gist
Feb 28, 2022 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ #!/usr/bin/env bash curl \ -XPOST https://httpbin.org/post \ -G \ --data-urlencode foo=bar \ --data-urlencode baz=quux \ -T <(echo -n '{"spam": "eggs"}')