Ok, So I have a login page which ha both a username and a password field. I am using the Prase REST service and I am logging in through. What would be the easiest way to check that the user logged in?
Here is my idea (but maybe you know of a better way):
I see that one of the responses from the service is "username" so I could probably get this and the in a custom JS I could check if (username == usernametxtinput.val). Firstly I'm not sure how to access the response variables fro the custom JS. Secondly I'm also not sure how to navigate to a page with JS.
Your help would be much appreciated