I am trying to access an asps website and download a file through a job in .NetCore.
- When I try to log in with the password and user name it is failing.
- I made the same request through postman and it added an authentication cookie in with DotNetNuke and a value.
- In my code when I take this value postman gave me and add a header add header(cookie, .DotNetNuke=PostmanValue) the job works.
The only issue is that this authentication token isn’t persistent.
How can I generate this value each time I want to run the job? So I have to install something in .NetCore for DotnetNuke?
Thanks in advance