HTTP server that responds with OK, sometimes it echos.
Note: This is for development purposes only.
Build using cargo:
cargo build --releaseYou can copy the binary into your $PATH to run it anywhere or
you can just run it directly.
ok-rs --port 4200You can visit the URL directly using the browser or use curl for testing purposes.
curl http://127.0.0.1:4100/foo/bar/bazResponse modes:
- Sends back the request body if POST/PUT/PATCH and content type is
application/json - Sends
OKas plain text for all other requests