Supporting query string and body for string to be encoded.

Querystring example: curl -O localhost:3000/qr?str=samplestring
Body payload example: curl -O -X GET -d "str=samplestring" localhost:3000/qr