I'm having problems in correctly formatting a POST data request for getting elevation data.
I basically just want to send a collection of Lat Lng points.
I've tried this (and variations of) for the data part of the POST request:
but I get this error message back in the response: "Illegal argument from request. Error parsing JSON provided by HTTP Request"
I use this for the URL, which works as I get a response back (albeit with the error message in it)
So I assume my error is with the POST data formatting.
Does anyone have an example POST data JSON request string that is known to work to help me to format the request correctly?
Thanks very much!