Using base64 url encoding for requests