twitter-archive / diffy

Find potential bugs in your services with Diffy
https://twitter.com/diffyproject
Apache License 2.0
3.83k stars 368 forks source link

Diffy doesnt capture 'POST requests sent through proxy ports #14

Closed sri85 closed 9 years ago

sri85 commented 9 years ago

I have an endpoint in my service which accepts POST requests My curl request looks something like this curl localhost:31900/messages -H "Content-type: application/json" -X POST -d {"message":"Yello"} ' But i do not see traffic on my server side when using diffy

If i do normal curl request i.e without using diffy as a proxy it works just fine.

Looks like the POST request doesn't get through the proxy image

Does diffy support POST requests ?

puneetkhanduri commented 9 years ago

Yes you can replay post requests. See https://github.com/twitter/diffy/issues/9

We should update the documentation because this keeps coming up. Care to do the honors?

sri85 commented 9 years ago

Cheers! Sure

sri85 commented 9 years ago

@puneetkhanduri Have raised the pull request for the same

puneetkhanduri commented 9 years ago

https://github.com/twitter/diffy/pull/15