String manipulation using Python with Flask framework.
curl --request GET http:https://127.0.0.1:3200/rot13/encrypt?plain_text=Hello,%20world! | python -m json.tool
curl --request GET http:https://127.0.0.1:3200/rot13/decrypt?rot13_encrypted_text=Uryyb,%20jbeyq! | python -m json.tool
curl --header "Content-Type: application/json" --request POST --data '{"\"plain_text"\":"\"Hello, world!"\"}' http:https://127.0.0.1:3200/rot13/encrypt | python -m json.tool
curl --header "Content-Type: application/json" --request POST --data '{"\"rot13_encrypted_text"\":"\"Uryyb, jbeyq!"\"}' http:https://127.0.0.1:3200/rot13/decrypt | python -m json.tool
- Nádio ~ @Devwarlt
- João Evangelista