Skip to content

Authorization

For continued use of the service, an authorization token (API key), transmitted as URL query parameter, over secure HTTP is required. Using tokens as URL parameters over Secure HTTP allows the developer to easily access the service directly from the web browser, and with command line tools (e.g. curl, wget), while still securing the token in negotiating the request.

Example

An example auth token is passed with the request by appending a &token=<key> query parameter to the request URL:

https://api.route-weather.com/forecast?waypts=(Reykjavik;now)&token=ABCD1234

Important HTTPS !

It is necessary to apply the secure HTTPS protocol in order to conceal the request. The URI part of the request often contains locations, routes and other information that may be sensitive to the user. Furthermore, the request also contains the dedicated API token that has been assigned to the user. The Route-Weather-API service will only accept requests over a secure HTTPS connection.