Lots of discussion about less terrible alternatives to postman. For those already using a Jetbrains IDE there's a builtin rest client that works well. I haven't used it for anything too complicated, but for routine stuff where you need to hit an endpoint and fiddle with the payload and headers it's great.
The JetBrains IDE, Visual Studio, and VS Code all support http files as well, which can be checked into an application.
> [for every] Jetbrains IDE there's a builtin rest client that works well
There's also one available as a major mode for Emacs: https://melpa.org/#/restclient
If the command line is acceptable but you want more of a focus on usability than curl has, there's httpie (https://httpie.io/) and its clone xh (https://github.com/ducaale/xh).