I followed the tutorial - - to create my API and generally got it to work. However, I am having issues with authentication. Here’s how I am passing the username, password in the headers.


		url: "xxxx...",

		dataType: "json",

		method: "GET",

		headers: {






However, I am unable to get the username and password in the _checkAuth function. Anyone know what I am doing wrong?


Solved. I was missing the constant APPLICATION_ID in the HTTP_X_USERNAME and HTTP_X_PASSWORD. I had set the constant to ‘’, and it did not work. Once I had a value in there, it worked. Can anyone explain why that is a requirement?

Hello, I am having somewat the same problem. Can u please paste the the code of the client side working??