Sending api key with POST data

2 posts / 0 new
Last post
Sending api key with POST data

I'm trying to get the elevation service working with json post data. When I'm useing just the URL based solution, it works fine, but if I try to send my request in post data, i keep getting "The AppKey submitted with this request is invalid." error.

Here is what i'm trying:






'Content-Type: application/json',
'Content-Length: <whatever the length is>'

As you cen see I tried submitting my key both in the url and the json, also tried only one or the other.
I'm certain my key is valid, i can use the format just fine.

Any suggestion?


The key must be in the url
The key must be in the url rather than the post data. Make sure there is a & between the key value and the inFormat parameter name. Currently there are too many ?s.   ""