jtrlho Posted July 25, 2011 Share Posted July 25, 2011 Hi I am developing an iOS app for our jewelry shop at www.sisterunika.dk. I have figured out the structure of the XML provided at www.<sitename.com>/api but one thing is puzzling me and that's how to use the search resource. Here's the search xml node from the www.<sitename.com>/api: <search xlink:href="www.<sitename.com>/api/search" get="true" put="false" post="false" delete="false" head="true"> <description xlink:href="www.<sitename.com>/api/api/search" get="true" put="false" post="false" delete="false" head="true"> Search</description> </search> So I've typed in www.<sitename.com>/api/search but I get this in return: <prestashop> <errors> <error> <message>Internal error. To see this error please display the PHP errors. </message> </error> </errors> </prestashop> That is strange to me because if I have a look at other nodes in the xml file located at www.<sitename.com>/api e.g. categories: <categories xlink:href="http://www.<sitename.com>/api/categories" get="true" put="false" post="false" delete="false" head="false"> <description xlink:href="http://www.<sitename.com>/api/categories" get="true" put="false" post="false" delete="false" head="false"> The product categories</description> <schema xlink:href="http://www.<sitename.com>/api/categories?schema=blank" type="blank"/> <schema xlink:href="http://www.<sitename.com>/api/categories?schema=synopsis" type="synopsis"/> </categories> it works fine. To put it short: how to use the search resource in the prestashop webservice? And question number 2: Is it suggested to use https instead of http in combination with webservices? I can imagine that https is preferred because if the login key will be revealed, it will be a servere security hazard. I'm running PS 1.4.3. Thank you kindly in advance. Link to comment Share on other sites More sharing options...
AcSh Posted December 1, 2011 Share Posted December 1, 2011 Hi, Did you found answer/solution to your problem 1 (search) ? AcSh. 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