I've got an issue using this fetch request (which I used around 75 times all accross my website and I never had this issue before)
When sending my values in my URL using get with Fetch(), I can see that no values are returned in my script using the console.log(answer) as shown under this message
Here are things I've tried to solve and debug this issue :
- console.log the answers to this requests as you can see in the picture.
- checked that response was ok, which it is, which means that fetch find the script location and the script itself
- put console.log in the entire process from the start to the end at every step of it, and everything works fine. The only issue is that my script doesn't receive the values sent from my fetch request
- I've set in my .htaccess the right parameters to allow the CROS policy
- From the screen you'll at the bottom of this post, CROS are set ON correctly but still, my two values id_user and statut don't want to send themselves even though they are transfered
Any help would be welcome! thanks :slight_smile:
NB : This code works for 75+ other places in my website and runs also perfectly in localhost
and when it comes to the php script :
[1]: https://i.stack.imgur.com/LIe4N.png
[2]: https://i.stack.imgur.com/N867b.png
My fetch request doesn't send the values to my script file using GET (CROS Origin alrea
Related questions
- Connexion à mon compte client
134607
13.02.2019 09:51
- Serveur non sécurisé, celui-ci ne supporte pas FTP sur TLS
115700
03.09.2018 14:46
- reCAPTCHA erreur pour le propriétaire du site : clé de site non valide
100724
14.02.2019 16:17
- [FAQ] Comment mettre à jour mon site pour supporter Apache 2.4 ?
86701
28.07.2017 11:39
- Passage en php 7.4
81835
30.06.2020 05:05
- Augmenter taille PHP Post Max Size sur mutualisé ?
80169
04.12.2019 21:52
- Ce site est inaccessible Impossible de trouver l'adresse DNS du serveur
79697
16.10.2016 16:24
- The requested URL / was not found on this server
79443
02.03.2017 18:25
- NextCloud sur mutualisé
79207
07.04.2017 08:42
- Deploy d'un projet Node JS
78953
12.10.2016 20:18