Discovery - Testing access to the web service with the browser
To test if you have properly configured your access to the web service, go to the page http://[email protected]/api/, where "mypasskey" is replaced by your key. Mozilla Firefox is the preferred browser to test access.
Another method is to go directly to the following page: http://mystore.com/api/
You will access the list of resources that you configured in your Back Office with all permissions granted.
Using "XLink", you'll be able to access your various resources.
XLink associates an XML file to another XML file via a link.
In the Customers tag, you should get these attributes:
<customers xlink:href="http://mystore.com/api/customers" get="true" put="true" post="true" delete="true" head="true">
The get, put, post, and delete attributes have the value "true," meaning that you have correctly configured the "customers" resource and that it is accessible.
You can now use the "XLink" that shows up on the URL "http://mystore.com/api/customers" and go to it.
Once the client list is displayed via "http://example.com/store/api/customers" you can access the XLink corresponding to each customer.
The XML file found on http://mystore.com/api/customers/1 whose link is found in the list of clients (see previous link) will give you the properties of customers that have '1' as their ID.
You can also browse the web service to access all resources in XML.