REST Call not returning anything!

I’m making an ajax call from javascript to a custom hosted service I developed in Java. It’s supposed to login the user. The call works fine in the Backendless Console but if I run it from the js file I never get a response. The jquery success or error callbacks never execute. I have double checked the arguments and call name and it all seems correct.

I’m still using Backendless 3.x and am developing on a Mac. Please help!

Thank you.

Hi Phil,

The call in console uses the same REST api you’d be invoking from JS. You can inspect and compare the details of the requests using browser’s Developer Tools to see where they are different, perhaps that will give you some clues as to why you do not see the result. Perhaps the response is an error or there is an unhandled exception somewhere.

Cheers,
Mark