Per Diem API - CORS Issue
- Dominant language
- No language data
- Stars
- 11
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
On a client-side request to the Per Diem API, the CORS policy is applied which causes an OPTIONS method request to the server. Although my GET request does indeed contain the api header, this preflight request (done by the browser) does not include it. Being that the preflight request does not include the API key a 403 HTTP response code is given. This thus fails the CORS access control check with the reason (as seen in the image) that this does not respond with a OK 200 response code.
Will greatly appreciate any help on the matter!


Contributor guide
Assessment
This issue has not been assessed yet.