Re:Show HN: Test Post/Get endpoints easily from your browser
by lobster_johnson on Tuesday August 16, 2011 @01:23PM
(#2892051)
I'm looking for the opposite -- something that will accept HTTP requests, record them and let me view the log on a page. My use case is debugging callbacks (notification pushes) from APIs.
[ Parent
| on HN ]
Re:Show HN: Test Post/Get endpoints easily from your browser
by callmeed on Tuesday August 16, 2011 @02:23PM
(#2892291)
http://www.postbin.org is what you want. I used it to debug my Recurly notification pushes and it made things much easier.
Re:Show HN: Test Post/Get endpoints easily from your browser
by kenneth_reitz on Tuesday August 16, 2011 @01:34PM
(#2892100)
http://httpbin.org doesn't log, but it responds with the request info.
Re:Show HN: Test Post/Get endpoints easily from your browser
by lobster_johnson on Tuesday August 16, 2011 @02:02PM
(#2892220)
Indeed, that makes it useless when the service I want to debug is not one written by me; let's say Github or Notifio.
I could write a service like that in 5 minutes, just wondering it one exists, so I don't have to. :-)
Re:Show HN: Test Post/Get endpoints easily from your browser
by kenneth_reitz on Tuesday August 16, 2011 @03:19PM
(#2892511)
If the requests is a POST, http://postbin.org will suit you perfectly :)
Re:Show HN: Test Post/Get endpoints easily from your browser
by lobster_johnson on Tuesday August 16, 2011 @05:33PM
(#2892989)
Thanks, that looks useful.
Re:Show HN: Test Post/Get endpoints easily from your browser
by benatkin on Tuesday August 16, 2011 @03:23PM
(#2892525)
Why so bitter?
Also httpbin is open source. You can clone it and add your own features. https://github.com/kennethreitz/httpbin
Re:Show HN: Test Post/Get endpoints easily from your browser
by lobster_johnson on Tuesday August 16, 2011 @05:33PM
(#2892986)
I don't see how you can interpret my comment as being bitter (there's a smileyface there, for God's sake). I merely point out that httpbin is useless for my stated use case -- there is nothing there implying that it's useless for all use cases.
Sure, I could patch httpbin. But I was explicitly asking whether the tool I described exists so I don't need to write the code myself.