Hacker News new | ask | show | jobs
by bozly 2239 days ago
I've just released endpoints.dev - Use it to get a unique, private url that will store & display all http requests made to it. Use your unique URL with 3rd party tools to see what requests they are making, without needing to spin up a webserver. Or, use it for experimenting with XXS, phone-home, and other http based pen-testing.
4 comments

"I've just released endpoints.dev ..."

This is a very interesting tool and I can think of some ways it would be useful to me, personally ...

If you'd like a free rsync.net account, as a thank-you, just email. Thank you for making this available.

Any advantages over http://requestbin.net/ ?
Looks like requestbin will only keep 20 requests for 48 hours. Currently, endpoints.dev will store an unlimited number of requests for 30 days. The plan is to add user login, and lift the 30 day limit for authenticated users.
Resources are never unlimited. Be smart and put some safe limits before the server gets abused, and either shutdown or bill you to death.
Very cool. You can also use osapy.com to inspect 3rd party API requests. Or even combine Osapy with endpoints.dev. I wrote a blogpost how to do that for retool.

In which direction do you want to develop the website?

Actually - just tried your website and it doesn't work for me. I tried curl -H "Content-Type: application/json" -d '{"message":"hello world"}' https://8ef216dd46.endpoints.dev and nothing happened. Maybe check your logs.
Are you running behind a load balancer on AWS? You might have to increase the idle connection timeout from the default (60 seconds). I use the max 4000s on hopps.io. Sending keep alive's to prevent the socket connection from closing also helps. Not sure if that's your issue, but worth looking into...
oh. you don't have live-updating. Sorry it works then.
Live updating should work - I'll investigate if there's any issues with the websocket api :)
Same, live updating didn't work but a page refresh did. I don't know much about websockets, but FWIW this request is still pending:

    Request URL: wss://ws.endpoints.dev/?token=redacted
    Request Method: GET
    Status Code: 101 Switching Protocols
it's normal for websockets to show as pending in devtools. Check the Messages tab
Fixing the real time update would be my only immediate feedback. Outside of that, this is a pretty nice app
Found the bug! Live updating should be working now
Live updating also not working for me. I do have uMatrix installed but I whitelisted your whole site for each column.
hmm - I can see a few requests have been received & stored for that endpoint.. It could be that your client killed the connection to the websocket api - does refreshing the page show the requests?
Same thing and worked a treat, with live updating... interesting.
Just out of curiosity, what's with all the freaky class names? Like class="sc-jTzLTM ipDHfO", class="sc-jzJRlG hdyVuB" etc.
they are auto generated by `styled-components` - a great option for "css in js" in the React ecosystem
Probably a preprocessor generating those..