Using Rainex API via API key

In order to authorize via API key you have to use Basic authorization with key

id as username;

key as password.

In other words, you have to add the following header into every request:

Authorization: Basic {base 64 encoded "{id}:{key}" string}

You can acquire id and key from your project’s control panel or create it with an authorized request to Rainex API.