CORS issue [message #1783135] |
Thu, 08 March 2018 07:15  |
Eclipse User |
|
|
|
When calling rest api from client running on different port, facing following issue
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' is therefore not allowed access. The response had HTTP status code 400.
Server: http://localhost:8080
Client: http://localhost:80
Checked response headers in Postman, No "access-control-allow-headers" present in response
How to add these headers in Om2m source code?
Thanks
Regards
Kamran
|
|
|
|
Powered by
FUDForum. Page generated in 0.07547 seconds