herb auld

herb auld

  • 1.7k
  • 26
  • 4.8k

First time Web HTTPrequest project

Oct 30 2019 2:27 PM
I need to read an internal web page and collect details that appear in columns. I used FIDDLER to capture what the GET request looks like so I can retrieve the result. However not knowing what is the best C# Web class to used It is not clear on how to start. FIDDLER "raw" capture shows the GET and I'm trying to mimic it in my code. The result in my code returns that I need "Frames and JavaScript" I don't know how to proceed. This is my request for help.
 
Below is the raw collection from FIDDLER. 
  1. GET http://localhost:8819/clm/servlet/com.internalserver.abc.application.hlm.csc.clm.ui.ClmServlet?page=PageProductFeatures&container=967456200&isRemoteStandAlone=0 HTTP/1.1  
  2. Accept: text/html, application/xhtml+xml, */*  
  3. Referer: http://localhost:8819/clm/servlet/com.internalserver.abc.application.hlm.csc.clm.ui.ClmServlet?page=PageToc&setSelection=CNT  
  4. Accept-Language: en-US  
  5. User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko  
  6. Accept-Encoding: gzip, deflate  
  7. Host: localhost:8819  
  8. Connection: Keep-Alive  
  9. Cookie: clm.expertMode=0; JSESSIONID=BFCFECE73003A6CC37CFCA412D966C44  
Someone suggest "some tool that can render the HTML first" but i am not clear on how to proceed. Can anyone help?

Answers (2)