I have developed a website using AngularJS for the front-end and Windows webforms for the back-end. I believe that the Authorization process is carried out using ASP.net Session Key.
The approach involves creating an AngularJS Post method for "login" followed by executing another method to retrieve user data, known as "getuserdata".
Login:
{ "method": "logintheconsumer",
"email":MyEmail,
"password":MyPassword}
Get User Details:
{ "method": "getconsumerdetails" }
While this setup works flawlessly with the POSTMAN API App, implementing the same code in JavaScript/AngularJS results in error responses.
Currently, no additional code structure has been implemented. Any insights on what could be missing?