Support Center

Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

How to register a personal weather stations

Giuseppe Dec 04, 2017 11:04PM GMT

I am trying to register a station following the instructions on https://openweathermap.org/stations#create_station, but I always get a null response.
With my free acount it is posible to register a weather station?

I use this post command:
http://api.openweathermap.org/data/3.0/stations?appid={MYAPPKEY}&external_id=Codogno01&name=Codogno01&latitude=45.16&longitude=9.70&altitude=56

Many thanks

Up 0 rated Down
avladimirova@owm.io Dec 11, 2017 05:46PM GMT OpenWeatherMap Agent

Hello,

Thank you for using our services.

Sorry for the delay in our reply.

Yes, it is possible to register a weather station with your free account.

Do you still need our help?

Up 0 rated Down
avladimirova@owm.io Dec 11, 2017 06:11PM GMT OpenWeatherMap Agent

You need to pass parameters in the request itself, and not in the address bar.
To do this, you can use some plug-in for the browser, for example, Postman

https://www.getpostman.com/docs/postman/sending_api_requests/requests

Up 0 rated Down
Giuseppe Dec 12, 2017 10:17PM GMT
I try with Postman, but the program compile a post string in this mode:
api.openweathermap.org/data/3.0/stations?appid={MYIDKEY}f&external_id=ICODOGNO7&name=Codogno&latitude=45.164&longitude=9.703&altitude=55

Send the request but the our system return this error:
{
"code": 415001,
"message": "unsupported media type"
}

Where is the problem?
Up 0 rated Down
Maxim Gushcho Dec 18, 2017 10:32AM GMT OpenWeatherMap Agent

Hello,

The most easiest way is to use this application:

https://install.advancedrestclient.com/

It says what is incorrect in your request.

Try this one with the correct syntax of API call.

Thanks.

Post Your Public Answer

Your name (required)
Your email address (required)
Answer (required)
9eda11838f597e7a95b6a1c991dcae0a@openweathermap.desk-mail.com
https://cdn.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete