Created
June 7, 2019 09:31
-
-
Save adamw/5de0cf6d6b0c56b85ad05fe512a0258e to your computer and use it in GitHub Desktop.
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 characters
println(request.toCurl) | |
/* | |
Outputs: | |
curl -L --max-redirs 32 -X POST | |
-H "Content-Type: application/json; charset=utf-8" -H "X-Auth: 123" | |
--data '{"name":"Mary","age":52}' | |
"http://httpbin.org/post" | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment