Start a Conversation

Unsolved

L

3 Posts

379

February 27th, 2023 18:00

CORS Issue

I and trying to make some simple web application that get system status using redfish api through iDRAC port. I can test some redfish apis through iDRAC port(we assigned ip to iDRAC and can access through ip) using insomnia tool(rest api test tool). but when I call them in web application(react, javascript), the browser returns 'cors errors'

Could you please let me know how to solve 'cors errors'?

Error message :

Access to XMLHttpRequest at 'https:// /redfish/v1/SessionService/Sessions' from origin ' http://localhost:3000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

3 Posts

February 27th, 2023 21:00

I think I created topic on wrong category. I'll move this to "system management general" category, please close this discussion. thanks

 

 

No Events found!

Top