I like saving requests to files so that I can version them and iterate on them. I don't like having to download and install Postman just to make HTTP requests. req
makes HTTP requests from files following the HTTP standard so I can pipe the results right into other tools.
Download the latest release and put it somewhere on your path (~/.local/bin
).
req request.http [-f] [-i]
opam switch create . 4.13.1
opam install . --deps-only --with-test
opam install ocaml-lsp-server
(For VS Code)
dune test