Using Pentaho to send addresses to Mapquest for long/lat info.

This is the URL I am sending:

www.mapquestapi.com/geocoding/v1/address?key=MYKEY&inFormat=json&json={location: lookup_address}, options:{thumbMaps:false,maxResults:1}

The "lookup_address" field is the concatenated address for the API.

It keeps returning Invalid query.
Unable to get result from specified URL :

http://www.mapquestapi.com/geocoding/v1/address?key=MYKEY&json={location: {lookup_address}, options:{thumbMaps:false,maxResults:1}}&address=%70%20SouthBay%20Ave.%22%22Boston%22%22MA%22%2202118%22 

If I put this into the URL it is fine.


What is the proper syntax to send the string properly?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.