Required Parameters for Places (GET) - Android HttpClient

50 views
Skip to first unread message

john

unread,
Dec 15, 2011, 1:36:58 PM12/15/11
to Fwix API
I am trying to execute a standard Apache httpClient in Android to
return a list of matching businesses, the URI of the HttpRequest is:

http://geoapi.fwix.com/places.json?api_key=<mykey>&lat=30.440721999999997&lng=-91.10065999999999&query=McDonalds

I am getting a 400 response, the message says that name and address is
required. The same URI works in a browser and returns data. Does
anybody have any idea why the parameters are required one way but not
the other?

Thanks a lot,

John

john

unread,
Dec 15, 2011, 2:41:05 PM12/15/11
to Fwix API
I fixed it, was doing POST instead of GET.
Reply all
Reply to author
Forward
0 new messages