1

I have a website (ASP.NET) which also provides an API. But to access it, it requires login.

I want to connect to this site with javascript, 'send' the user credentials to it and receive the cookies (ASP.NET_SessionID and ASPXAUTH) to use them for API calls. But I don't know how to do it.

I already did it with Java though but I have too little experience with javascript. I heard maybe I could do it with cURL?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.