When i m calling api’s nothing came out i did’nt know whether its bcoz of routes or any other issue i have used restivus plugin and using angular js in client side but my default background page is Loading whenever i hit any api’s
You’re going to need to share some code before anyone can help…
http://192.168.1.154:3000/api/test
var Api = new Restivus({
useDefaultAuth: false,
prettyJson: true,
enableCors: true,
});
Api.addRoute(‘test/’,{},
{
get:function()
{
return ticket.find({}).fetch();
}
});
I have Client side route also…