title: How to handle special characters in API URL - Retrofit
body: <p>I'm using Kotlin and retrofit in my Android App to call API's, but some of the API URLs have these characters in them: <code>^, #, ~.</code></p>
  
  <p>I'm using the <code>GET</code> API method. My host URL does not have special / strange characters in them nor does my API method names, but the API methods that I've set up; have a few parameters; and sometimes the arguments I'm sending, when calling the API methods, have these special characters in them.</p>
  
  <p>In those cases I'm not getting a response back and the API call fails.</p>
  
  <p>I've noticed that retrofit changes my URL. It replaces any special character with 3 other characters. I've tested my URLs directly in a browser and in Postman, and they work fine.</p>
  
  <p>Is there something specific I have to do in Kotlin to make retrofit be OK with my special characters?</p>