I am using TRestClient and TRestRequest to send a Get request to an API. The API has a parameter of username and password. However, my password contains a plus sign (+). So I use HTTPEncode to URL encode the password (changes the plus sign to %2B). However, it still does not work. If I change my password and take out the plus sign, the request works fine. However, I may have other users that will have characters in their password that will need to be URL encoded. Is there something else I need to do to have TRestRequest use the URL encoded password?
↧