Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » OM2M » CORS issue
CORS issue [message #1783135] Thu, 08 March 2018 12:15 Go to next message
Muhammad Kamran is currently offline Muhammad KamranFriend
Messages: 18
Registered: November 2017
Junior Member
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?

Re: CORS issue [message #1807371 is a reply to message #1783135] Tue, 28 May 2019 17:19 Go to previous message
Path Geek is currently offline Path GeekFriend
Messages: 1
Registered: May 2019
Junior Member
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: Fri Feb 03 18:04:06 GMT 2023

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

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

Back to the top