How to test Requests in Web Development

Martin Thoma
Aug 19, 2024

--

As a backend developer, I sometimes have the need to check which requests are sent, including the headers and the payload. It’s enormously useful to have a local tool which can check that.

I’ve just released postbin: A simple small webserver which receives requests and prints them, including the headers.

Alternatives

I have used websites for that in the past, but in a professional context this might not be a good option in case you could leak private information. I also had issues with those websites, e.g. not all types of requests would be received/printed.

I’ve seen similar projects, but haven’t tried them:

--

--

Martin Thoma
Martin Thoma

Written by Martin Thoma

I’m a Software Engineer with over 10 years of Python experience (Backend/ML/AI). Support me via https://martinthoma.medium.com/membership