Nikhil.nj Posted March 27, 2015 Share Posted March 27, 2015 (edited) Hello, I phase some difficulties with PrestaShop-webservice-library, reference from the documentation of Prestashop. So I used it for web services and it return XML data. I want to get data in JSON format. I tried but nothing happened. If any one know about it how to get json using this library, please give me hints and idea about it, If possible then the example is the best way for better understand. Thanks in Advance Nikhil ['} Edited March 27, 2015 by Nikhil.nj (see edit history) Link to comment Share on other sites More sharing options...
Nikhil.nj Posted March 30, 2015 Author Share Posted March 30, 2015 I searched and try to edit but it return only XML because it used cURL through which it get the data and display to just nothing else if anyone get success then I thanked to him/her and request to notify me. Nick ['} Link to comment Share on other sites More sharing options...
Nabahat Posted February 2, 2016 Share Posted February 2, 2016 (edited) Hi, Try to put the following at the end of you request : &output_format=JSON example: http://www.yoursite.com/api/&output_format=JSON Edited February 2, 2016 by Nabahat (see edit history) 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