8 ms·
Show HN: Osapy - an API proxy to visualize HTTP request for debugging
- osapy 6y agoI've been frustrated with building API integrations and struggling to track down API call issues via Postman, e.g. what does a raw request really look like or where are my headers ending up. Interested to see if anyone finds this useful.
- ehaughee 6y agoWhen I hit my private URL, I receive "Missing Authentication Token". My URL ends with // so I wonder if I'm not getting my auth token? Total guess as to the URL structure here.
- mlamina 6y agoHow is it different from https://requestbin.com/ https://requestbin.com/ ?
- osapy 6y agoYou don't need to log in. Otherwise very similar.
- osapy 6y agoJust saw you can have a non login version. Thanks for pointing this out. Will add more features soon
- matylla 6y ago...or https://hookbin.com https://hookbin.com
- osapy 6y agoIs hookbin using websockets for live publishing of the requests? It says you need to refresh the website.
- jkarneges 6y agoIt looks like Osapy acts as a proxy to an arbitrary destination server. Requestbin and similar tools are for receiving and saving HTTP requests, but not proxying them out to somewhere else. So that's an important difference. Although I'm having trouble getting it to work. Seeing the same token error others are reporting.
- difosfor 6y agoFor client debugging I usually just use the network inspector or Charles (https://www.charlesproxy.com/ https://www.charlesproxy.com/). But I guess this might be useful for server to server API call debugging
- deleted 6y ago[deleted]
- osapy 6y agoYes Osapy is for server-server debugging AND you don't need to install anything
- dewey 6y agoCan't you do exactly that by looking at the network inspector in any browser and then right click "Copy as curl"?
- osapy 6y agoI think depends on the use case. If you just want to test a backend API, e.g. to call ERP/SAP API or a Google API I'm not sure how you can do that.
- thomaslutz 6y ago{"message":"Missing Authentication Token"}
- osapy 6y agoWhich API are you trying to call ? This doesn't look like one of my error messages.
- cbo100 6y agoI assume the example numbersapi that is loaded by default. I got the same thing. Leaves me wondering what to do next. It's not clear, then I figured I'll try this curl command, then an error and still nothing obvious to try next.
- capableweb 6y ago"Hosted on AWS" is gonna backfire on you. This basically opens you up to people misusing it to drive traffic costs for you and you end up paying a lot of money for it. Better to find a host where you're not paying for traffic and you can have a dedicated host.
- osapy 6y agoYeah.. it's just to get started and see if anyone finds it useful.
- adawg4 6y agoIf you're looking to be more professional with less work, I would suggest using https://tailwindcss.com/ https://tailwindcss.com/ to spruce up the overall look! Site is nice btw, will use in the future.
- osapy 6y agoThanks. I'll check it out.
- firloop 6y agoToday I use ngrok for this and it works brilliantly: $ ngrok http https://myapp and then I can point my clients at <random domain>.ngrok.io and inspect the request contents locally. How does this compare to that?
- osapy 6y agoHi, It can do the same, but no installation or registration required.