Skip to main content



      Home
Home » Eclipse Projects » OM2M » CORS issue
CORS issue [message #1783135] Thu, 08 March 2018 07:15 Go to next message
Eclipse UserFriend
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
Re: CORS issue [message #1807371 is a reply to message #1783135] Tue, 28 May 2019 13:19 Go to previous message
Eclipse UserFriend
did you ever get a response or figure this out? Having the same issue. Thanks
Previous Topic:[REQUEST] Official Release with MQTT binding feature pre-built
Next Topic:Problem building om2m following step by step cloning guide
Goto Forum:
  


Current Time: Mon Jul 07 16:12:30 EDT 2025

Powered by FUDForum. Page generated in 0.07547 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top