cURL
curl --request OPTIONS \ --url https://api.ionelectricity.com/v1/ \ --header 'Authorization: <api-key>'
Enables CORS by returning correct headers for pre-flight requests.
Default response for CORS method
Was this page helpful?