Skip to content

Instantly share code, notes, and snippets.

@waynew

waynew/redundant.txt Secret

Created Aug 3, 2016
Embed
What would you like to do?
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\"}"]}
@waynew

This comment has been minimized.

Copy link
Owner Author

@waynew waynew commented Aug 3, 2016

I'd expect them to be posting something like this:

POST /json HTTP/1.1
Host: localhost:8889
User-Agent: curl/7.49.1
Accept: */*
Content-Type:application/json
Content-Length: 32

{"id": "Cleese", "name": "John"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.