Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

111
Views
A way to capture Http Response of the latest page from redirects/relocations

Is there a way to capture the last landing page's HTTP response/HTML in .NET?

This is what happens:

  1. Use HttpClient to POST www.website.com/login
  2. /login responds with a new location
  3. App JavaScript handles the new location by using window.location = www.website.com/newLocation
  4. I want to capture the response where it was redirected to

When I use HttpClient, it is only able to capture the new location in Step 2 and it will not capture anything further after that.

Is there a way to capture HTTP response in Step 4? I'm specifically after the HTML code that is passed back to the browser.

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!