Hello everyone,
My **domain name** is : https://www.arxis.fr
And I use **the offer** : Hébergement OVH (service "itbusiness2012")
I have the following problem :
I am writing my first app with Ionic/Angular/Typescript and I want read/write some data from/into a json file hosted by my OVH website ("https://www.arxis.fr/prova/people.json").
When I read data using the following statement:
_" return this.http.get(this.baseURL + 'people')"_
the XHR status code is = 200 and I receive all the records.
When I write data using the following statements:
_const httpOptions = { headers: new HttpHeaders({_
_'Content-Type': 'application/json; charset=utf-8'}) };_
_const body=person;_
_return this.http.post(this.baseURL + 'people', body, httpOptions)_
the status code returned is = 200, BUT NOTHING IS WRITTEN into the destination file.
WHY ??? I can't find an explanation...
For your information, please note that:
1. the .htaccess file gives the autorisation for all methods (GET, POST, PUT, DELETE, OPTIONS);
2. any manipulation into .ovconfig does not change the result.
Here you'll find the XHR screenshot:
!XHR200|404x500
I need your HELP !!! Thank you!
G.L. Aroasio (aroasio@arxis.fr)
Http-post displays status = 200, but DOES NOT WRITE data into the server
Related questions
- How do I limit upload_max_filesize? PHP.ini method not working
9400
06.12.2022 11:02
- Update MySQL Version
9388
14.02.2018 03:27
- Max_execution_time how to increase time
9374
24.01.2021 17:14
- Connect to mysql database
9234
28.02.2018 16:52
- I can't login to my account. Reset password don't help
8971
25.02.2020 22:06
- Cannot put SSL on my domain
8320
03.04.2019 19:20
- How do I get rid of the default 'site under construction' page?
7695
27.10.2022 14:35
- Layer 7 DDoS protection on Web hosting
7527
17.08.2025 13:59
- Trying to connect my OVH domain to shopify store
7412
13.06.2021 22:43
- Increase PHP Post Max Size and PHP Time Limit
6860
20.09.2023 07:11