I’m a big fan of Hurl for this purpose. It’s just a thin declarative layer over curl.
https://hurl.dev/