context-broker

Context Broker Preflight OPTIONS request

人盡茶涼 提交于 2019-12-11 07:31:09
问题 I'm trying to make a GET request to a Context Broker instance from a browser. I've enabled CORS on the CB using the -corsOrigin __ALL flag when starting the app, and I can see that this has worked by making a request in POSTMAN and seeing this header in the response: access-control-allow-origin →* . I need to specify the Fiware-Service header in my GET request in order to get the correct entities, which I believe is making the request not simple, triggering an OPTIONS HTTP request. Inspecting