Toggle URL encoding on API requests

The ability to turn off/disable URL encoding for API requests.

Some APIs do not accept URL endcoded/percent-encoded requests.

Context: I made a Retool app which queries Zendesk's API. This API does not accept URL encoded requests, while Retool API queries are automatically URL encoded. So I had to make a transformer (below) to circumvent this. Ideally I could simply toggle encoding.

const subdomain = {{}}
const endpoint = {{ endpointInput.value }}
return decodeURI(https://${subdomain}${endpoint})

1 Like

Hi @benjamin welcome to the Retool community! Thank you for sharing this here, I'll let our team know about it and will circle back if they are able to roll this out at some point. :slight_smile: