Skip to main content

Debugging RESTful API

If you need to integrate for example IoT devices, you need maybe to check why the device is not able to connect to the server processing your location data or other data from a LoRaWAN Tracker or any other IoT device.

For this there's a very good service to see what kind of requests the IoT device or a middleware is making during an uplink of the data.

First the Selfhosted tools:

webhook.site

With Webhook.site, you instantly get a unique, random URL that you can use to test and debug Webhooks and HTTP requests, as well as to create your own workflows using the Custom Actions graphical editor or WebhookScript, a simple scripting language, to transform, validate and process HTTP requests.

image.png

Github Development Page: https://github.com/webhooksite/webhook.site

Docker Image: https://hub.docker.com/r/webhooksite/webhook.site

Request Baskets

Request Baskets is a web service to collect arbitrary HTTP requests and inspect them via RESTful API or simple web UI.

image.png

There's also a docker image here: https://hub.docker.com/r/darklynx/request-baskets

Beeceptor

With beeceptor you Build mock APIs in a few seconds, Inspect & Intercept HTTP requests.

With the free plan you can create 50 requests/day, see the pricing here: https://beeceptor.com/pricing

Very interesting is the inspection of HTTP request, check it out: https://beeceptor.com/docs/inspect-http-request-payloads/

inspect-http-payload-headers-35d1a3dc09e835e339b7807c5b9e051b.gif

PostBin

Programmatically Test your API Clients or Webhooks.

https://postb.in/

RequestBin

Inspect webhooks and HTTP requests.

Get a URL to collect HTTP or webhook requests and inspect them in a human-friendly way.
Optionally connect APIs, run code and return a custom response on each request.

https://requestbin.com