I am developing an app which requires JSON. I use the link https://maps.googleapis.com/maps/api/place/autocomplete/json?input=+place+&types=geocode&sensor=true&key=AIzaSyCA4LKD6QfiCrGhZjCsYiRyEGqxKOUEQBU, where place is variable where the predictions are updated for. The problem is it does not take space but works fine in the browser and not in my app. Please give me the format of how variable place should be written or how browser modifies the space given
I am developing an app which requires JSON. I use the link https://maps.googleapis.com/maps/api/place/autocomplete/json?input=+place+&types=geocode&sensor=true&key=AIzaSyCA4LKD6QfiCrGhZjCsYiRyEGqxKOUEQBU ,
Share
Replace all spaces with “%20” and than make an API call.
something like
Happy Coding!
Krio