CORS (Cross-Origin Resource Sharing) errors can sometimes hinder smooth communication between web applications due to security policies.
In the case of Unify APIs, the CORS configuration is designed to allow unrestricted communication between different origins.
As shown in the screenshot, when an OPTIONS request is made towards the Unify API, the response indicates that both the headers access-control-allow-origin
and the access-control-allow-methods
are configured to accept any origin and method.
Apideck should be implemented in your backed code. Using it from the browser is not recommended and will leak your API key.
It's worth noting that some users have faced CORS-related challenges in the past, and were mostly liked to the choice of web browser. When using popular browsers like Chrome or Firefox, the OPTIONS requests were successful. However, when using the ARC browser, these requests behaved differently or were blocked.