I am using URL in one format. but when I enter it in Google and when pressed enter it is converting to another format.
below is my original URL
'https://translation.googleapis.com/language/translate/v2?q=hai basha.how are you&target=te&key={YOUR_API_KEY}'
below is my encoded url
'https://translation.googleapis.com/language/translate/v2?q=hai%20basha.how%20are%20you&target=te&key={YOUR_API_KEY}'
how can I implement this in my code. Actually it is a GET
method.