I need to send a GET request. One of the parameters has URL query characters in it (e.g., ?
, &
, and =
). How do I URI-encode that in KRL before sending the request?
Here's the pseudocoded idea:
params = "key=value&key=value";
encoded_params = params.urlencode();
request = datasource:service("?data=#{encoded_params}");