/req

Primary LanguageOCaml

Req

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.

Installation

Download the latest release and put it somewhere on your path (~/.local/bin).

Usage

req request.http [-f] [-i]

Contributing

Setting up a local environment

  • opam switch create . 4.13.1
  • opam install . --deps-only --with-test
  • opam install ocaml-lsp-server (For VS Code)

Running tests

dune test