News for hackers. Stuff that matters.
Re:Show HN: Responsecodes.xyz by Oxodao on Saturday July 02, 2022 @05:17AM (#31957460)
I've needed thing like this a few month back and stumbled upon https://mock.codes/ which does the job too
Re:Show HN: Responsecodes.xyz by dmlittle on Sunday July 03, 2022 @01:49AM (#31965413)
I currently run this! Kinda... I haven't really touched it since 2017 when I built it as an evening project to see if it could be done as a static AWS API Gateway configuration. It costs a few dollars a month plus the domain cost and a fair amount of people use it so I've kept it up and running.

I've been meaning on writing the same functionality as an actual application and adding things like custom response timers, timeouts and more and deploying it to fly.io to try their service out but I haven't gotten around to doing it yet.

Re:Show HN: Responsecodes.xyz by deweyair on Sunday July 03, 2022 @11:26AM (#31968410)
Cool! I think there's a lot of neat stuff that could be added here. Funny how a little event project can be so useful!
Re:Show HN: Responsecodes.xyz by dmlittle on Sunday July 03, 2022 @02:49PM (#31969999)
If you have any requests I'm happy to try to to implement them!
Re:Show HN: Responsecodes.xyz by deweyair on Sunday July 03, 2022 @07:56PM (#31972051)
The biggest thing for me was that I needed to use subdomains. I needed to test a dependency that let the consumer pass in a domain, but no path. Subdomains fit the bill for that. It's the only thing I can think of offhand :-)

If you'd like, feel free to email me at [email protected] and we can collab

Re:Show HN: Responsecodes.xyz by b0ner_t0ner on Sunday July 03, 2022 @08:52AM (#31967328)
How much would you save if you ran this on Cloudflare Workers?
Re:Show HN: Responsecodes.xyz by dmlittle on Sunday July 03, 2022 @02:47PM (#31969986)
I'm not really looking at it from a cost savings perspective since the operational cost is so low that even an hour of work covers paying for multiple years of it running. It really boils down to what different platforms I want to try out but you're right that Cloudflare Workers is another one to consider.
Re:Show HN: Responsecodes.xyz by deweyair on Saturday July 02, 2022 @10:44AM (#31959405)
This is slick - thanks for sharing! I like how they list what the response codes are for