Issue with Mapquest API service response...
Hello,
Try to remove "renderReverse(" at the beginning and ");" at the end. Then make validation.
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
Hello,
Try to remove "renderReverse(" at the beginning and ");" at the end. Then make validation.
Please try to use "Reverse Geocode" in format "Key/Value Pair"
http://www.mapquestapi.com/geocoding/...
Good morning guys. How can I remove "renderReverse(" at the beginning and ");" at the end? Thats the response... Thats not in my control.
I tried using the Key/Value Pair and I get an error response from mapquest:
},
"statuscode":400,
"messages":[
"Illegal argument from request: Insufficient info for location."
]
}
Question for you guys, have you guys ever had anybody use mapquest maps api and successful with Appery? Just wondering... And If so, what is the best way to go about this?
The main reason why Im going with mapquest instead of google api is because mapquest is free...
yes and I did remove "renderReverse(" at the beginning and ");" at the end of my test response in appery. I was able to automatically create a response with that removed, however when I tested to see if the response loads the info into the local storage variables i created - only 'null' is there... Is there a way that appery can ignore that part so it can read the rest?
You need to make sure the MapQuest API returns valid JSON. Only valid JSON will work in Appery.io. You can always test the JSON returned for validity at http://jsonlint.com
How am I going to control what mapquest does? I tested it at that link you provided...
this is my full url when i tested there:
http://www.mapquestapi.com/geocoding/...
and i get the same results in the same format. In the 'Results' body i get this back:
Parse error on line 1:
renderReverse({
^
Expecting '{', '['
Try taking out the "callback" parameter.
Wow, OMG thanks guys, taking out the callback finally did the trick... You guys are awesome:)