-
-
Save waynew/d49e595570fe4f0a8724fcae5a2c4ebc to your computer and use it in GitHub Desktop.
This file contains 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
POST /form HTTP/1.1 | |
Host: localhost:8889 | |
User-Agent: curl/7.49.1 | |
Accept: */* | |
Content-Length: 207 | |
Content-Type: application/x-www-form-urlencode | |
test=test&args=%5B%27http%3A%2F%2Fexample.com%2Fapi%27%2C+%27POST%27%2C+%27Content-Type%3A+application%2Fjson%5CnContent-Length%3A+32%27%2C+%27%7B%22id%22%3A+%22Cleese%22%2C+%22name%22%3A+%22John%22%7D%27%5D | |
-- Or | |
POST /json HTTP/1.1 | |
Host: localhost:8889 | |
User-Agent: curl/7.49.1 | |
Accept: */* | |
Content-Type:application/json | |
Content-Length: 207 | |
{"test": "test", "args": ["http://example.com/api", "POST", "Content-Type: application/json\nContent-Length: 32", "{\"id\": \"Cleese\", \"name\": \"John\"}"]} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'd expect them to be posting something like this: