Knowledge Base - How can I check the API endpoint

"How can I test the API end point ?"

 

Creating your layer information on the layar publishing site (we dont provide support for this), and on the layar layer's list, simply click on the test button. Then you can set your center point (where you have some entries), and click on the load POI button. In the result list, you will see a long url (the API end point and some parameters) like this:

http://www.SITE.com/administrator/components/com_sobi2/plugins/layar/layar.gateway.php?lang=en&countryCode=CH&lon=7.2770793&userId=XXX&developerId=XXX&developerHash=XXX&version=4.0&radius=5000&timestamp=1296462213625&lat=47.0447658&layerName=yway&accuracy=100

The you can copy this url and past it on this page:

http://www.jsonlint.com/

Here you can test the url and the given reponse. After that it's more easy to find errors.

Applies To

All Products