Point forecast API - free trial does not work
-
I have generated a free trial API key for point forecasting, but the example shown in the documentation does not work.
{ "lat": 49.809, "lon": 16.787, "model": "gfs", "parameters": ["wind", "dewpoint", "rh", "pressure"], "levels": ["surface", "800h", "300h"], "key": "i-put-my-key-here" }
I receive a 400 error in response, specifically it states that
Invalid request - "key", "model", "lat", "lon" or "parameters" are missing.
What is the issue? I would like to upgrade to the premium API, but this and the lack of technical support has me worried that it will be a waste of $1000.
-
@mowoolli Hello, with test trial, you can only test random coordinates.
-
@mowoolli I had this error today using Postman but it's a simple thing to solve. Just add the header
Content-Type:application/json
to your request. That's all :). -
@korina Hi, so how do I test random coordinates? This is the example code in the documentation. Omitting the coordinates does not work either.
-
@alpinazo said in Point forecast API - free trial does not work:
@mowoolli I had this error today using Postman but it's a simple thing to solve. Just add the header
Content-Type:application/json
to your request. That's all :).