0
I’m trying to use the Google Places API, and I’m getting INVALID_REQUEST
when trying to access it.
This is the url I’m using:
0
I’m trying to use the Google Places API, and I’m getting INVALID_REQUEST
when trying to access it.
This is the url I’m using:
1
According to the standard of Encode of HTML characters, %22
means, deciphered, "
. That is, your URL is being interpreted as:
https://maps.googleapis.com/maps/api/place/search/json?location=40.7463956,"-73.9852992&Radius=100&sensor=true&"KEY_API"
Note that a "
before its longitude -73.9852992
in your URL.
To resolve this, remove %22
from its URL to that character "
be removed.
Browser other questions tagged android
You are not signed in. Login or sign up in order to post.
What is that
%22
?– ramaral
was it, in vdd that %22 was when I pasted the code here, had an quotes there and it turned into %22, but I fixed it and it worked, vlw
– roque
that
%22
is referring to the character of space " ". For some reason before google maps accepted coordinates separated by spaces. Today it does not accept more.– gmsantos