Authentication
Authentication is currently supported by using an API key that you can find in your account in the API Console at console.metoceanapi.com. You supply this API key to Forecast API setting the http header x-api-key
Note below is an example for setting the x-api-key.
curl -X 'GET' \
'https://forecast-v2.metoceanapi.com/models/' \
-H 'x-api-key: <YOUR_API_KEY>' \
-H 'accept: application/json'
It's recommended you hide your API key away from client side javascript code by sorting it in some server side code.