Questions tagged [webresponse]
135 questions
0
votes
1 answer
Filling a Web Form in C#
I'm trying to fill a web form automatically with C#.
Here is my code i took from an old stack overflow post:
//NOTE: This is the URL the form POSTs to, not the URL of the form (you can find this in the "action" attribute of the HTML's form…

yair
- 43
- 8
0
votes
1 answer
Get underlying WebResponse from MethodInfo generated from SoapHttpClientProtocol
I've spent a while looking at this but am struggling to get any useful answers.
Basically I have a SoapHttpClientProtocol that I've compiled from a WSDL previously.
I then get the MethodInfo for my particular method from the clientProtocol and…

alexcyoung
- 5
- 5
0
votes
0 answers
WebResponse returning 401 error in loop, but works on a case-by-case. Any ideas?
I'm running into a situation where I'm getting a (401) not authorized response. However, when I test each item line by line, it works fine. Since it's in a loop when these errors are thrown, I believe that a connection is still open, but I'm not…

Ray
- 9
- 3
0
votes
1 answer
Login button in android application, correct comunciation with server
I'm trying to make a login button work, my aim is to :
send web request to server with username and password(in md5), receive the response from the server(the response is in xml), save the response to a file or something and use it for the next…

Demo_Mario
- 1
- 1
0
votes
1 answer
Windows Phone 8.1 webrequest POST get response
I'm trying to make a web request with POST data and get back the response. I've got it working for Android, but it doesn't work the same way for Windows Phone and I can't seem to get it to work. I'm currently getting errors for GetRequestStreamd and…

brianv
- 23
- 1
- 7
0
votes
1 answer
vb.net wRequest loop to each link in array of string
if i can make WebRequest for one link like this :
Dim rt As String = "http://www.somelink.com"
Dim wRequest As WebRequest
Dim WResponse As WebResponse
Dim SR As StreamReader
wRequest = FtpWebRequest.Create(rt)
WResponse =…

Snoopy Ohoo
- 109
- 1
- 11
0
votes
1 answer
WebResponse reading with callbacks
I have an app where the user can choose to download all content and this was done with this method on other platforms
resp.GetResponseStream().BeginRead(mBuffer, 0, 1448, new AsyncCallback(EndRead), resp);
but a BeginRead-method is not present in…

stonecompass
- 547
- 9
- 27
0
votes
0 answers
How can I load an image referred to in a blob: URL into C#
I am trying to handle the dragging and dropping of an image in C# onto a WPF window. I can extract the URL but sometimes it starts
https://
and sometimes
blob:https%3A//
The https:// works fine but blob: does not - code to load in c# below. If I…

Rob Blackmore
- 101
- 7
0
votes
3 answers
multiple webrequest through a string array
I have over 2000 url calls to make and with the code below it is taking almost 2 minutes to complete. Could someone help me to speed the process up?
private void button4_Click(object sender, EventArgs e)
{
WebRequest req;
…

ICL
- 1
- 2
0
votes
0 answers
Convert WebRequest to RestSharp
I'm trying to use RestSharp but I'm having some difficulties converting my old code. Here is a little snippet:
System.Net.WebRequest request =…

Wheels
- 155
- 1
- 16
0
votes
0 answers
Wait few webresponses at the same time
I want wait all responses one time.
for (int i = 0; i < N; i++)
{
request = (HttpWebRequest)WebRequest.Create(url[i]);
// init other request headers...
// get response
using (HttpWebResponse response = await…

user3424037
- 51
- 1
- 1
- 10
0
votes
1 answer
Getting Text From Flash
I have a problem usint httpWebRequest httpWebResponse. The problem is am trying to fetch data from a website which contains loads of text regarding some documents and articles which are inside the flash. How can i get the text inside the flash? The…
0
votes
3 answers
Open a WebResponse on Browser
I have a Request which I make to a page and works fine. I can also view that page the response page with Fiddler.
But how do I open this response in my browser?
Currently what I have:
Cookie cookie = new Cookie("test","this");
…

Hillboy
- 472
- 6
- 19
0
votes
1 answer
Why request.GetResponse() throwing "remote server returned an error: (500) " on different port(!=80) urls?
I am getting exception(The remote server returned an error: (500) Internal Server Error.) for request.GetResponse() if I deploy application in different port other than 80(default), when I try to access the URL , it is working fine.
I had followed…

Pavan Kumar kota
- 45
- 1
- 1
- 9
0
votes
1 answer
Error with Null
I am working on a project here and am running into an issue. It was working fine before but what I am doing is sending a request to a url and am expecting a JSON response. However when I check the response it keeps coming back as null. This was not…

basic
- 3,348
- 3
- 21
- 36