Let me dump your post – Free HTTP Post test server

This past week I found myself writing code that had to submit some data to a webservice via an HTTP POST request. Not a particularly difficult task but it was on a platform I didn’t have much experience with and I wasn’t sure if I had formed the packet properly. In order to validate my bits I wrote a small php page which accepts POST requests and dumps them locally. Thanks to Dreamhost I’m now able to share this with everybody:

Do you have a https site a can test posting to? I seem to be able to HTTP POST just fine using curl and php, however, trying to do HTTPS POST using curl and php doesn’t seem to be working…. so I’m trying to find a site with https I can use for testing, besides my own web server.

Hi Henry,
Thanks for the post server. It’s so nice to see my posts show! My problem is that I can’t get a post body. I am posting through a wifi module that allows only a single line for commanding the post, and I use “POST$/post.php?dump&html&dir=me&DATA= ” after which it appends automatically the data it is sending. (this whole thing of course is appended to “posttestserver.com”. I can also use “value” instead of DATA, which has the same effect but apparently sends binary instead of ascii. Anyhow, do you know of a way to tell your server that the data following the last ‘=’ should be in the post body, and not just in the query string?

What you are describing is passing the data to the server in the query string. This makes it a GET request and not a POST and that is why you won’t see the data. Do you have a link to the library you are using to generate the request?

This is priceless. I have been looking for someone who had set something like this up. I post leads for clients to a lot of different CRM’s, most of which I’m completely unfamiliar, and with this it is perfect to see what those CRM’s are receiving. Thanks so much for this.