cURL (https://curl.se/) is one of my favorite tools when working with REST APIs. The use of this tool is found in almost all scripts.
With it, you can test your HTTP handlers and even write example requests and responses in the service documentation. Of course, there are other tools, such as HTTPie (https://httpie.org/), xh (https://github.com/ducaale/xh) and others.

#curl #Web #HTTP #REST #API #HTTPie #xh #POST #GET

But its popularity is due to the fact that in most cases it will already be installed in your environment.
So when someone has problems with a request to a service I'm responsible for, I always ask them to send me the curl request and its output, like this:
```
curl -D - -X POST 'https://httpbin.org/post' \
-H 'Content-Type: application/json' \
-d '{ "key": "value" }'
```