Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.


google maps geocoding

  • IanM

    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:" -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}&" ""

    I have verified that this works:

    /usr/bin/curl "{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.