The life of a modern developer is often a task of moving JSONs from the place A to place B. Sometimes you do it between your own services, sometimes you need to integrate 3rd party services into your workload.
Let's see what can help you quickly test if integration works without deploying your software. Here are the tools that are helping me.
1️⃣ ngrok
In case you have something locally and want to expose it online. Then you can do the following:
ngrok http 8080 --subdomain=my-awesome-project
and in seconds, your app will be available under https://my-awesome-project.eu.ngrok.io. You can use that endpoint as long as both your app and ngrok process are up.2️⃣ webhook.site
In case you do not have an actual app, but still want to test what would happen if X sends you that
JSON. Just open the website, and it will give you the unique url. Then do:
curl -X POST https://webhook.site/8f965f86-869f-4c79-aeda-1e96fffd18f4 \
-H 'Content-Type: application/json' \
-d '{"login":"good","password":"dev"}'
And you will see this request in the browser.3️⃣ Insomnia
I remember the times, when Postman was a thing. Many people continue to use it. To me it's cumbersome. So I switched to Insomnia and use it for basic cases.
⬛️ Do you know the tools alike? Please, share them in the comments.