I created a service names “sql”. My problem is that I don’t understand two things.
First : How to connect my new API ?
var dsp_url = "http://localhost/rest/sql"; var app_name = "api";
When I’m trying to loggin, my console tell me : Uncaught TypeError: window.app.login is not a function. I can only loggin with :
var dsp_url = "http://localhost/rest/api_docs";
The second thing is easier : have you got an example of ajax call using jquery to use this API ?