Futamiya Posted September 20, 2021 Share Posted September 20, 2021 Localhost Xampp server version Prestashop 1.7.7.4 Server Apache (Unix) for the request : postman Ubuntu Hello, I tried to transfert my new products to my web tools ERP. So I decided to use webservice. So thanks to my key and postman, I tried so different request. And I can have result when I used GET : <prestashop xmlns:xlink="http://www.w3.org/1999/xlink"> <products> <product id="1" xlink:href="https://localhost/my_prestashop/api/products/1"/> <product id="2" xlink:href="https://localhost/my_prestashop/api/products/2"/> <product id="3" xlink:href="https://localhost/my_prestashop/api/products/3"/> <product id="4" xlink:href="https://localhost/my_prestashop/api/products/4"/> </products> </prestashop> But when I used POST, this didn't work : <b>Notice</b>: Undefined index: REMOTE_USER in <b>/opt/lampp/htdocs/my_prestashop/webservice/dispatcher.php</b> on line <b>52</b> <?xml version="1.0" encoding="UTF-8"?> <prestashop xmlns:xlink="http://www.*****/xlink"> <errors> <error> <code> <![CDATA[127]]> </code> <message> <![CDATA[XML error : String could not be parsed as XML XML length : 0 Original XML : ]]> </message> </error> </errors> </prestashop> So, Did you have an idea about what can be the problem ? Sincerelly Futamiya Link to comment Share on other sites More sharing options...
MarioXP Posted May 27, 2022 Share Posted May 27, 2022 Hi, I have the same issue with 1.7.7.6 version. Have you resolved it? Thank you Mario Link to comment Share on other sites More sharing options...
Futamiya Posted May 27, 2022 Author Share Posted May 27, 2022 No sorry 😕 I didn't found solution in localhost Link to comment Share on other sites More sharing options...
Tom Girou Posted June 1, 2022 Share Posted June 1, 2022 Can you show the body of your post request inside Postman please ? Link to comment Share on other sites More sharing options...
Futamiya Posted July 13, 2022 Author Share Posted July 13, 2022 Sorry to respond now. I didn't found solution, and I lost this work.. sorry Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now