About 50 results
Open links in new tab
  1. HttpWebRequest.GetResponse () keeps getting timed out

    HttpWebRequest.GetResponse () keeps getting timed out Asked 12 years, 4 months ago Modified 4 years, 9 months ago Viewed 102k times

  2. Error Handling in System.Net.HttpWebRequest::GetResponse ()

    Mar 3, 2012 · I have a Powershell script that uses System.Net.HttpWebRequest to communicate with a remote host. I create the request, set properties accordingly and call getresponse() and …

  3. In Python, what does getresponse() return? - Stack Overflow

    Nov 17, 2009 · In Python, what does getresponse () return? Asked 15 years, 11 months ago Modified 15 years, 11 months ago Viewed 14k times

  4. .Net HttpWebRequest.GetResponse() raises exception when http …

    .Net HttpWebRequest.GetResponse () raises exception when http status code 400 (bad request) is returned Asked 16 years, 6 months ago Modified 2 years, 2 months ago Viewed 192k times

  5. c# - System.Net.ProtocolViolationException: You must write ...

    Jul 8, 2015 · System.Net.ProtocolViolationException: You must write ContentLength bytes to the request stream before calling [Begin]GetResponse Asked 10 years, 2 months ago Modified 8 …

  6. How can I validate google reCAPTCHA v2 using javascript/jQuery?

    Jan 12, 2015 · I have a simple contact form in aspx. I want to validate the reCaptcha (client-side) before submitting the form. Please help. Sample code: <%@ Page Language="VB" …

  7. c# - Read text from response - Stack Overflow

    Jan 10, 2018 · The accepted answer does not correctly dispose the WebResponse or decode the text. Also, there's a new way to do this in .NET 4.5. To perform an HTTP GET and read the …

  8. WebRequest.GetResponse() is throwing error 401: Unauthorized

    As of right now I don't have access to the IIS settings so I couldn't enable Anonymous Authentication which is very possible why Cybernate's answer was not working for me. I did …

  9. How to check String in response body with mockMvc

    @Sotirios Delimanolis answer do the job however I was looking for comparing strings within this mockMvc assertion So here it is .andExpect(content().string("\"Username already taken - …

  10. How to get json response using system.net.webrequest in c#?

    I need to get json data from an external domain. I used WebRequest to get the response from a website. Here's the code: var request = WebRequest.Create(url); string text; var response = …