App Connect API Data Source Support Product Page
The headers are not changed by dmx-header:
Reported 12 Feb 2019 06:51:52
1
has this problem
12 Feb 2019 06:51:52 User posted:
Hi, i want to test Api data source but i have a problem with the headres, they are not changed by dmx-header; www.anofm.ro/apilmv.html
Replies
Replied 12 Feb 2019 10:36:51
12 Feb 2019 10:36:51 Teodor Kuduschiev replied:
Hello,
The API returns an error:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at ec.europa.eu/eures/output/api/v1/jv/getCodeLists?. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at ec.europa.eu/eures/output/api/v1/jv/getCodeLists?. (Reason: CORS request did not succeed).
More info about this error: developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors/CORSMissingAllowOrigin
The API returns an error:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at ec.europa.eu/eures/output/api/v1/jv/getCodeLists?. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at ec.europa.eu/eures/output/api/v1/jv/getCodeLists?. (Reason: CORS request did not succeed).
More info about this error: developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors/CORSMissingAllowOrigin
Replied 12 Feb 2019 10:56:27
12 Feb 2019 10:56:27 User replied:
Isn't blocked, i get data-source after I manualy modify the headers (method (GET), Content-type, Accept-language)
www.anofm.ro/Capture_API.PNG
www.anofm.ro/Capture_Headers_before.PNG
www.anofm.ro/Capture_Headers_After.PNG
www.anofm.ro/Capture_API_datasource.PNG
www.anofm.ro/Capture_API.PNG
www.anofm.ro/Capture_Headers_before.PNG
www.anofm.ro/Capture_Headers_After.PNG
www.anofm.ro/Capture_API_datasource.PNG
Replied 13 Feb 2019 08:48:27
13 Feb 2019 08:48:27 User replied:
Could you, please, provide support for this issue?
Replied 13 Feb 2019 08:53:16
13 Feb 2019 08:53:16 Teodor Kuduschiev replied:
I don't understand what exactly your issue is.
I already provided the error your API returns.
I already provided the error your API returns.
Replied 13 Feb 2019 09:05:43
13 Feb 2019 09:05:43 User replied:
The headers are not changed by dmx-header; this is my issue...
I put some captures of headers and the result when i change them manuay...
I put some captures of headers and the result when i change them manuay...
Replied 13 Feb 2019 09:54:46
13 Feb 2019 09:54:46 Teodor Kuduschiev replied:
I don't understand what exactly are you trying to show with your screenshots ...
Replied 13 Feb 2019 11:26:07
13 Feb 2019 11:26:07 User replied:
I wanted to show you that the dmx-header doesn't change the headers of the request; after i changed them manually, i got also data-source...
Replied 14 Feb 2019 10:54:17
14 Feb 2019 10:54:17 User replied:
Hi again, we try it with wappler, still problems.
I created a server connect for this...but we get some errors, could you please provide some help?
The url is the same...
www.anofm.ro/apilmv.html
I created a server connect for this...but we get some errors, could you please provide some help?
The url is the same...
www.anofm.ro/apilmv.html
Replied 14 Feb 2019 10:59:30
14 Feb 2019 10:59:30 Teodor Kuduschiev replied:
The error message of this page is totally different:
Also - for ANY issue related to code created with Wappler please use community.wappler.io/ !
code: 0 file: "/var/www/html/anofmnou/dmxConnectLib/modules/api.php" line: 224 message: "Failed to connect to 2a01:7080:24:100::666:30: Network is unreachable"
Also - for ANY issue related to code created with Wappler please use community.wappler.io/ !
Replied 14 Feb 2019 11:22:02
14 Feb 2019 11:22:02 User replied:
Ok, thks.