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
- I can't login to my account. Reset password don't help
3350
25.02.2020 22:06
- Max_execution_time how to increase time
3314
24.01.2021 17:14
- Update MySQL Version
3101
14.02.2018 03:27
- Connect to mysql database
2458
28.02.2018 16:52
- How do I limit upload_max_filesize? PHP.ini method not working
2446
06.12.2022 11:02
- Cannot put SSL on my domain
2407
03.04.2019 19:20
- Why can not connect my domain name with my host in ovh?
2099
09.01.2020 09:13
- Trying to connect my OVH domain to shopify store
2025
13.06.2021 22:43
- Launching the free e-mail account and 10M hosting for a domain impossible
1830
04.11.2018 01:14
- Increase PHP Post Max Size and PHP Time Limit
1801
20.09.2023 07:11