$ curl localhost:8255/encrypt -d foobar-prd1 % Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 75 100 64 100 11 2000 343 --:--:-- --:--:-- --:--:-- 400034 b9724e3300e8102d3a7a5976a916f23015898f666d6d61df1f75a1299f4dff
$ curl localhost:8255/decrypt -d
curl: option -d: requires parameter
curl: try 'curl --help' or 'curl --manual' for more information
$ curl localhost:8255/decrypt -d 400034b9724e3300e8102d3a7a5976a916f23015898f666 d6d61df1f75a1299f4dff
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 266 0 198 100 68 3142 1079 --:--:-- --:--:-- --:--:-- 6187{" timestamp":1511948878180,"status":500,"error":"Internal Server Error","exception ":"java.lang.IllegalStateException","message":" Unable to invoke Cipher due to il legal block size","path":"/decrypt"}
$ curl localhost:8255/decrypt -d 400034b9724e3300e8102d3a7a5976a916f23015898f66 6d6d61df1f75a1299f4dff
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 266 0 198 100 68 6387 2193 --:--:-- --:--:-- --:--:-- 12375{" timestamp":1511948898886,"status":500,"error":"Internal Server Error","exception ":"java.lang.IllegalStateException","message":"Unable to invoke Cipher due to il legal block size","path":"/decrypt"}
$ curl localhost:8255/decrypt -d 34b9724e3300e8102d3a7a5976a916f23015898f666d6d6 1df1f75a1299f4dff
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 75 100 11 100 64 354 2064 --:--:-- --:--:-- --:--:-- 64000fo obar-prd1