Forum Discussion

YevhenHrushko's avatar
YevhenHrushko
New Member
3 months ago

Request to Enable CORS for API Access

Dear SmartBear,

I am writing to request your assistance in enabling Cross-Origin Resource Sharing (CORS) for our API endpoints. We have encountered an issue where browser security mechanisms are blocking requests to our API because the origin of these requests has not been declared as safe on your side.

Issue Description: Our web applications are unable to communicate with the API when triggered from the browser due to the lack of CORS headers in the API responses. This prevents the browser from accepting responses originating from our domains. 

Requested Action: Could you please configure our origin URLs to be accepted by the API? This change would involve adding our domain(s) to the list of allowed origins on your server to ensure that the necessary CORS headers are included in the API responses.

Affected Domains:

  • *.wiliot.com
  • *.gcp.wiliot.cloud
  • localhost

We anticipate that this adjustment will allow our frontend applications to interact seamlessly with the API, as they currently do through environments like Postman, where CORS is not a concern.

Thank you for your attention to this matter. We look forward to your prompt support in resolving this issue.

Best regards,

Yevhen Hrushko
AQA Lead
Wiliot

1 Reply

  • MisterB's avatar
    MisterB
    Champion Level 3

    Hi Yevhen,

    This forum sometimes gets replies from SmartBear employees from time to time but your request might not get the attention you want as this is primarily a user community forum.  You might want to post your request to SmartBear Support where I am certain you will get the help you need.

    Good luck!

    Andy