Lasith Posted November 1, 2013 Share Posted November 1, 2013 Hi All, I am new to Prestashop and I want to write a Java wrapper for Prestashop web services. First, I want to execute Prestashop web services with rest client. I used chrome "advanced rest client" [1]. My request url is, http://127.0.0.1:8090/prestashop/api/customers headers are, "u: V7846EKZZJ1OJAW486D66IS7GO24XKUZ" I am always redirecting to the prestashop home page with this request. If I erase htaccess file then I am getting 404 page not found error. I have enabled the web services with prestashop admin --> advanced parameters --> web services. There I enabled both "PrestaShop's webservice" and "Active mode CGI for PHP" also generated the above mentioned key and enabled it. Please help me to resolve this issue. [1]https://chrome.google.com/webstore/detail/advanced-rest-client/hgmloofddffdnphfgcellkdfbfbjeloo Thanks, -Lasith. Link to comment Share on other sites More sharing options...
Lasith Posted November 2, 2013 Author Share Posted November 2, 2013 Hi All, I am new to Prestashop and I want to write a Java wrapper for Prestashop web services. First, I want to execute Prestashop web services with rest client. I used chrome "advanced rest client" [1]. My request url is, http://127.0.0.1:8090/prestashop/api/customers headers are, "u: V7846EKZZJ1OJAW486D66IS7GO24XKUZ" I am always redirecting to the prestashop home page with this request. If I erase htaccess file then I am getting 404 page not found error. I have enabled the web services with prestashop admin --> advanced parameters --> web services. There I enabled both "PrestaShop's webservice" and "Active mode CGI for PHP" also generated the above mentioned key and enabled it. Please help me to resolve this issue. [1]https://chrome.google.com/webstore/detail/advanced-rest-client/hgmloofddffdnphfgcellkdfbfbjeloo Thanks, -Lasith. I found the solution. I haven't enabled CURL for PHP. After enabling that I can access web services. Link to comment Share on other sites More sharing options...
vekia Posted November 2, 2013 Share Posted November 2, 2013 hello many thanks for information that you solved it and of course how you did that i marked this thread as [sOLVED] with regards, Milos Link to comment Share on other sites More sharing options...
Behc98 Posted May 27, 2020 Share Posted May 27, 2020 PHP-FPM closed 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