Live data from Hacker News

Show HN: Endpoints.dev – Pastebin for HTTP Requests

endpoints.dev

41–50 of 52 posts

Re: Show HN: Endpoints.dev – Pastebin for HTTP Requests

#41
Could you extend the headers by default?

It's annoying to have to click a super small > every time to extend. That doesn't look like a button and is too small to click by the way.

Is it running on HTTP/2? It's converting all headers to lowercase. Might be a side effect or HTTP/2 or cloudflare.

Re: Show HN: Endpoints.dev – Pastebin for HTTP Requests

#42
post #36
post #35

Right now the Headers column is essentially useless because the json renderer doesn't seem to want to display beyond one level of depth so you just see "[{...},{...},etc]". Can you make this more usable? Maybe add some kind of expansion ui where it will pretty print the headers in multiple lines?

The header details can be expanded by clicking the ">" arrow to the left of the "[{...},{...},etc]" I think this could be a bit more intuitive though, thanks for the feedback!

Ah. Yes its not very intuitive. I would personally have used a "+". But I think the bigger issue that makes it unintuitive is that the cursor CSS is set on the entire

tag of the condensed JSON, but the click event is only set on the ">". If you set the click on the entire

as well, then it becomes more obvious that clicking the row does something.

Re: Show HN: Endpoints.dev – Pastebin for HTTP Requests

#43
post #28

Show me your pretty requests everybody: https://2f5799dcfb.endpoints.dev # Update Interesting: - Lots of IPV6 requests coming from HN. - What is the "dnt" header most requests carry?

> Lots of IPV6 requests coming from HN.

It's funny you mention that. I intentionally disable IPv6 a while back, because it kept breaking things for me.

At some point either the router reset or my OS settings did (or both) because I recently discovered it was back on, despite not doing so myself.

I'm guessing it's on by default in enough places now that you'll see mostly ipv6.

Re: Show HN: Endpoints.dev – Pastebin for HTTP Requests

#44
post #25
post #19

Earlier quoted context omitted.

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

Re: Show HN: Endpoints.dev – Pastebin for HTTP Requests

#46
post #2

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.

"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.

Re: Show HN: Endpoints.dev – Pastebin for HTTP Requests

#48
Some time ago I built a similar tool, with the main difference being that it doesn't store any data, so you need to have the webpage open to receive the request info. Since I use it mostly to debug issues and quickly inspect something of the fly, that works for me.

It is available here: https://github.com/dethos/webhook_logger

(You can quickly deploy it on your own server, if you don't trust a hosted service).

Re: Show HN: Endpoints.dev – Pastebin for HTTP Requests

#49
post #16
post #15

Earlier quoted context omitted.

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.

Same thing and worked a treat, with live updating... interesting.

Re: Show HN: Endpoints.dev – Pastebin for HTTP Requests

#50
post #7

How do you generate that unique endpoint? Do you have some worker that generates https config? Whats your magic ?

Not the author, but there's no config that needs to be generated. Just run a HTTPS server with a wildcard cert that serves all traffic from a wildcard 'vhost' *.example.com to your application code. Then, your application can just look at the Host header to see which 'endpoint' it should serve.

Thanks! So I dont need to register every sub-domain? I thought that I must register every sub domain name on my DNS config.
Post reply on HN