CORS Problem while accessing / fetching data from ServiceNow Table API's

Sanket1
Giga Contributor

Getting error while accessing ServiceNow Table API's on react 

Access to XMLHttpRequest at 'https://dev116571.service-now.com/api/now/table/u_training_baXXXXXXXX?sysparm_limit=100' 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.

find_real_file.png

1 ACCEPTED SOLUTION

Sanket1
Giga Contributor

find_real_file.png

 

Adding this CORS Rule worked for me .. 

View solution in original post

3 REPLIES 3

Sanket1
Giga Contributor

find_real_file.png

 

Adding this CORS Rule worked for me .. 

Does this mean you have no questions / problems any more?

If so please mark your own answer as correct!

Kind regards
Maik

ok