You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are fetching data from REST APIS using GET method. We getting error as No 'Access-Control-Allow-Origin'
We want to get thingsboard data from REST APis, but http GET method is not working and we are not able to send headers, but http PUT and POST method has been working fine
The error in details as :
Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8888' is therefore not allowed access. The response had HTTP status code 401.
How we can achive and solve error. I have try to using lot of siltiuon also checked CORS on chrome browser.
The text was updated successfully, but these errors were encountered:
Getting error on HTTP REST Apis.
We are fetching data from REST APIS using GET method. We getting error as No 'Access-Control-Allow-Origin'
We want to get thingsboard data from REST APis, but http GET method is not working and we are not able to send headers, but http PUT and POST method has been working fine
The error in details as :
Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8888' is therefore not allowed access. The response had HTTP status code 401.
How we can achive and solve error. I have try to using lot of siltiuon also checked CORS on chrome browser.
The text was updated successfully, but these errors were encountered: