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
The broker works very well with curl or in the browser (http://broker.waziup.io), but fetching data from other domains (that are limited to cross-origin security) fails.
For example: My WebApp, which is using the waziup broker, requests (http://broker.waziup.io) using fetch, must schedule an OPTIONS request first, before the main GET request.
However, the OPTIONS request fails: Request Headers:
OPTIONS /v2/entities HTTP/1.1
Access-Control-Request-Headers: fiware-service,fiware-servicepath
Access-Control-Request-Method: GET
Origin: http://my-domain.com
So should i use orion.waziup.io in general, or are you going to implement the cross-origin functionality for broker.waziup.io? (Or is using the broker with other WebApp not intended?)
Thanks in advance!
The text was updated successfully, but these errors were encountered:
The broker works very well with
curl
or in the browser (http://broker.waziup.io), but fetching data from other domains (that are limited to cross-origin security) fails.For example: My WebApp, which is using the waziup broker, requests (http://broker.waziup.io) using fetch, must schedule an
OPTIONS
request first, before the main GET request.However, the
OPTIONS
request fails:Request Headers:
Response Headers:
The dashboard avoids this conflict using orion.waziup.io.
So should i use
orion.waziup.io
in general, or are you going to implement the cross-origin functionality forbroker.waziup.io
? (Or is using the broker with other WebApp not intended?)Thanks in advance!
The text was updated successfully, but these errors were encountered: