I have a Restler-powered API (api.example.com) and I have a website for developers (developer.example.com). My aim is to be able to explore the API from the latter site.
But as I add this to the API Explorer options: discoveryUrl:"http://api.example.com/resources.json" it doesn't work (displays "0 : error http://api.example.com/resources.json") even though these facts:
- discoveryUrl:"../resources.json" works well from api.example.com/explorer
- discoveryUrl:"http://api.example.com/resources.json" is OK from api.example.com/explorer
- http://api.example.com/resources.json works just fine from the browser!
Could you tell me what can be the cause of this issue?