I'm currently working on migrating an ASP.NET Web Forms website to have an API so that it can have a React front end.
I'm going to continue to use forms authentication to begin with for this migration, but would like to know how to POST on the login form (/login.aspx) from Postman so that forms authentication works and logs me in so I can then proceed to test the APIs I write. I'm using the standard ASP.NET web forms login control.
I've tried using this (https://www.youtube.com/watch?v=B4ilccLUQVs) method, which seems to at least get me the POST data I need I suppose, but there seems to be something missing as I'm being redirected to login.aspx in Postman and any calls to the API still ask for authentication.
I did notice it invokes some javascript method called WebForm_DoPostBackWithOptions in the onclick event handler when the login button is pressed, but I'm not sure how I'd invoke this in Postman.
If anyone's done this already, I'd be glad to heard from you!
