Skip to main content
OPTIONS
/
{proxy+}
CORS support for proxy paths
curl --request OPTIONS \
  --url https://api.ionelectricity.com/v1/{proxy+} \
  --header 'Authorization: <api-key>'

Authorizations

Authorization
string
header
required

Path Parameters

proxy+
string
required

The sub-path for specific data models and device IDs, e.g., 'han', 'han/HB0375D3', or 'consumption'.

Response

200

Default response for CORS method