CORS
Last updated
Was this helpful?
Last updated
Was this helpful?
You can enable CORS for you endpoint by responding with the correct headers, as well as potentially adding an OPTIONS handler for your endpoint.
The example below pretty much allows any origin to connect to our API.
To replicate, you can paste the json data below directly into the editor.
Make sure you also respond with those headers in the actual handler: