Microservice exposing API endpoints for doing Caesar encryption and decryption.
This is my first program written in Rust :)
Set the Rust nightly build for this repo: rustup override set nightly
.
Launch with cargo run
or compile with cargo build
.
- POST /caesar/decrypt expecting a body like:
{ "secret": "abyz", "shift": 25 }
- POST /caesar/encrypt expecting a body like:
{ "secret": "abyz", "shift": 25 }
- GET /liveness