IanM - 2014-04-10

I'm having an issue with geocoding an address using snoopy. It comes back with "The 'sensor' parameter specified in the request must be set to either 'true' or 'false'." I've found similar threads when using curl and the maps api.

Snoopy generated request:

/usr/bin/curl -k -D "/tmp/snodlRoAD" -H "User-Agent: Snoopy v1.2.4" -H "Host: maps.googleapis.com:443" -H "Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, /" -H "Content-type: application/x-www-form-urlencoded" -H "Content-length: 122" -d "address={url encoded address}&sensor=false&key={apikey}&" "https://maps.googleapis.com/maps/api/geocode/json"

I have verified that this works:

/usr/bin/curl "https://maps.googleapis.com/maps/api/geocode/json?address={url encoded address}&sensor=false&key={apikey}"

There are threads I've found dealing with the quoting of the url or parameters, but I don't have control of that [that I am aware or] using Snoopy. I've tried various things from a command line but haven't found a solution other than the very simple curl

.

Any suggestions? I'd like to use Snoopy vs direct curl access if possible.