I have an asp.net site that uses VB for code-behind. I'm trying to integrate a login for another site into the application and the vendor requires I make an AJAX GET request to them to make the login happen and then forward the user on success to their home page. Is there an easy way to do this with .Net? I thought maybe an httpwebrequest would do it, but was unsuccessful in doing so.
I'll attach the example HTML file the vendor sent us (login.html with their domain removed for privacy), of the call that they have that seems to work. I've tried implementing this into my aspx page, also attached (testWS.aspx), but every single time I try that code I receive the error message.
Any help or guidance would be greatly appreciated.