Write a simple server that has the endpoint of http://localhost/encrypt and `http://localhost/decrypt, which sort of acts like the CLI in /cmd/portwarden folder. You might want to take a JSON input in the endpoint and return the corresponding results.
Requirements:
Write a simple server that has the endpoint of
http://localhost/encrypt
and`http://localhost/decrypt
, which sort of acts like the CLI in/cmd/portwarden
folder. You might want to take a JSON input in the endpoint and return the corresponding results.