Hi,
I try to use the "API" from an other website but I have a CORS error :
Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://projeqtor-test.bibou.fr/orig/api/Resource/search/username ='admin'. Raison : l’en-tête CORS « Access-Control-Allow-Origin » est manquant.
Is there any clean way to correct this ?
Thanks
PS: It could be nice to add a Content-Type: application/json header in the API... It would be cleaner 😉
Is there any solution?
The OPTIONS (preflight) request made before the GET request is blocked because the auth header is not passed (it's the way it work) so this request get a 403 and so the GET request is blocked. I wonder how can it even work ???? I am missing something!
Hi,
I don'yt know how to fix the CORS protection.
Maybe some apache configuration car allow such requests for granted source servers.
About content-type of API, ticket #4855 recorded
Hi,
I don'yt know how to fix the CORS protection.
Maybe some apache configuration car allow such requests for granted source servers.About content-type of API, ticket #4855 recorded
Okay cool, thanks