httpwebrequest Questions
5
Solved
When making a request using HttpWebRequest object, I need to call the method GetResponse() to send the request and get the response back.
The problem with this method is that it doesn't return the ...
Leonerd asked 15/5, 2010 at 22:29
6
Solved
Any ideas why on some links that I try to access using HttpWebRequest I am getting "The remote server returned an error: (304) Not Modified." in the code?
The code I'm using is from Jeff's post he...
Bleb asked 8/4, 2010 at 21:30
7
Solved
I have an application written in VB.NET (NOT asp.net, it is a Windows Console app). I am trying to call a url (an html page) and get back the response into a string. The response is straight JSON, ...
Lemuel asked 16/8, 2010 at 21:36
53
Solved
We are unable to connect to an HTTPS server using WebRequest because of this error message:
The request was aborted: Could not create SSL/TLS secure channel.
We know that the server doesn't have a ...
Amine asked 18/5, 2010 at 18:7
16
Solved
I am using an open source library to connect to my webserver. I was concerned that the webserver was going extremely slow and then I tried doing a simple test in Ruby and I got these results
Rub...
Primogeniture asked 25/3, 2010 at 21:49
2
Solved
when i sent a request to nodejs server,
how can we find the parameters sent in the request query when request sent to nodejs server.
req.param
req.params
req.query
all giving undefined.
also...
Menado asked 4/9, 2013 at 11:16
9
Solved
I know you are all going to answer "use a debugging proxy server like Fiddler" but it's not that simple.
Here's my situation: I have some code that runs on a server, in an ASP.NET page code-behind...
Baleful asked 27/9, 2010 at 21:25
12
Solved
My application (.net 3.5 sp1) uses the HttpWebRequest to communicate with different endpoints, sometimes its over HTTPS where each hosting server may have a different security protocol requirement ...
Clyde asked 24/9, 2010 at 23:5
4
Solved
I'm trying to use HTTPWebRequest to access a web service, and am having problems passing credentials in, see code below. I can see the credentials object, nc, being built in the debugger, and also ...
Chaumont asked 5/11, 2009 at 20:33
17
Solved
How can I make an HTTP POST request and send data in the body?
Pitcher asked 25/10, 2010 at 14:5
5
Solved
This is my first time ever using JSON as well as System.Net and the WebRequest in any of my applications. My application is supposed to send a JSON payload, similar to the one below to an authentic...
Sanguinaria asked 10/5, 2014 at 20:23
10
My application connects to Experian server and Experian will soon stop supporting TLS 1.0 and TLS 1.1. All connectivity using HTTPS must use TLS Version 1.2.
I want to do some research on that iss...
Ironhanded asked 16/6, 2016 at 20:51
22
Solved
Is there any class, library or some piece of code which will help me to upload files with HTTPWebrequest?
Edit 2:
I do not want to upload to a WebDAV folder or something like that. I want to sim...
Icily asked 19/2, 2009 at 18:3
15
Solved
My customer has informed my of issues with their SSL and Internet Explorer. They said they get trust issues when accessing the URL.
I am accessing JSON through HTTPS. The website sits on one ...
Bethune asked 30/5, 2012 at 18:56
20
Solved
I'm using the WCF4.0 template -REST. I'm trying to make a method that uploads a file using a stream.
The problem always occur at
Stream serverStream = request.GetRequestStream();
Class for stre...
Sterile asked 14/3, 2012 at 2:43
2
Solved
I am working on a .NET 4.0 application that needs to make connections to a website server. I've been getting the following error on and off periodically (pattern appears to start around lunch and h...
Yokefellow asked 15/3, 2019 at 19:5
4
Solved
I'm trying to make a request via SSL. The certificate is already installed on the machine and it works via browser.
I am using this request:
System.Text.ASCIIEncoding encoding = new System.Text.A...
Marita asked 27/6, 2012 at 9:1
5
Various articles (1, 2) I discovered make this look easy enough:
WebRequest request = HttpWebRequest.Create(url);
var credentialCache = new CredentialCache();
credentialCache.Add(
new Uri(url), /...
Autoclave asked 3/7, 2010 at 18:54
2
I have a really strange problem with WebRequest in a ServiceStack web application (hosted by XSP on Mono).
It seems that the registration of request modules works in a very strange way; I am using ...
Athletic asked 15/7, 2013 at 14:49
10
Solved
In Java, How to compose an HTTP request message and send it to an HTTP web server?
Roop asked 31/8, 2009 at 22:31
5
Solved
I have a list of urls, I need to check which of the following urls are valid.
The code I used is
require 'net/http'
url = 'http://mysite.com'
res = Net::HTTP.get_response(URI.parse(url.to_s))
p...
Aretina asked 14/3, 2012 at 10:5
3
Solved
I'm trying to verify the existence of a Url using HttpWebRequest. I found a few examples that do basically this:
HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(Url);
request.Method...
Lajoie asked 10/4, 2012 at 0:53
2
Solved
I open a website using webbrowser control and then save cookies in cookieContainer , and later use HTTPwebrequest to process forward browsing pages etc.
The issue arises, when i make a search and ...
Rockrose asked 23/5, 2012 at 18:8
10
Solved
Why does the following code Timeout the second (and subsequent) time it is run?
The code hangs at:
using (Stream objStream = request.GetResponse().GetResponseStream())
and then causes a WebExce...
Algorithm asked 29/4, 2011 at 1:47
6
Solved
I can set Request.Content-Type = ... , Request.Content-Length = ...
How to set Accept and Accept-Language?
I want to upload a file (RFC 1867) and need to create a request like this:
POST /test-...
Species asked 3/6, 2011 at 7:57
1 Next >
© 2022 - 2024 — McMap. All rights reserved.