Details
-
Type:
Monitor
-
Status: Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: FIWARE-TECH-HELP
-
Labels:
Description
Created question in FIWARE Q/A platform on 11-06-2022 at 09:06
Please, ANSWER this question AT https://stackoverflow.com/questions/72583248/error-parsing-data-from-quantumleap-cors-policy
Question:
Error parsing data from quantumleap (CORS policy)
Description:
I am trying to retrieve historic data from QuantumLeap through using this request in my javascript program :
GET 'http://Remote-IP:8668/v2/entities/Temp:001/attrs/temperature?lastN=10'
-H 'Accept: application/json'
-H 'Fiware-Service: openiot'
-H 'Fiware-ServicePath: /'
But I get this error :
from origin 'http://127.0.0.1:5501' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
I realized there is no configuration for quantumleap to enable CORS like for Orion.
2022-06-12 05:31|CREATED monitor | # answers= 0, accepted answer= False