I'd like to geocode a batch of addresses, preferably via address string. This can be done with http://www.mapquestapi.com/geocoding/v1/batch?key=KEY&location=LOCATION1.... The problem is that there is a URL length limit and my data can get truncated.
MapQuest offers a POST method, but it looks completely different for some reason. Instead of passing the addresses as strings, it expects them already structured, as described here: https://developer.mapquest.com/documentation/geocoding-api/address/post/
I have two questions:
1. Is it possible to pass an array of strings to the POST batch API to make it work just like the GET version? If I just fill the array with strings, I get an error: no 'json' parameter found. Maybe there's some undocumented object property name where I could do that?
2. If I need to use the structured addresses, is there any reference to the API of how to actually pass it? The documentation just provides an example of the city and the state. I'm not sure how to provide the rest, for example street parameter seems to be ignored.
Any help is highly appreciated.