(/api/base64)
API route takes one URL param: 'input'.
JSON body takes one value that is a boolean: 'decode'
Input:
Output: