Questions tagged [webresponse]
135 questions
1
vote
1 answer
C# cannot save file from url with proxy
I'm trying to download a file from a url. I try two approachs but it isn't working with external files.
I think it's happening because I have internet over proxy. I can download internal network files (images, mp3, mp4, whatever...) but when I try…

Gelásio
- 1,899
- 1
- 19
- 18
1
vote
1 answer
How to parse a FORM from WebResponse into a POST body of a WebRequest
I'm new to this, this is my virgin voyage, the task at hand is to create a transaction in C# that will navigate through a page flow of a web app via WebRequest/WebResponse. I got the Request/Response mechanism working, cookies and all (I can…

Jessica Jones
- 21
- 2
1
vote
0 answers
WebRequest WebResponse Operation has timed out
I have several Http Web Requests in various loops etc. The web requests get data from a variety of APIs.
These seem to work some of the time, but most of the time (recently) I am getting Timeout exception errors (Operation has timed out) and am not…

Zack Antony Bucci
- 571
- 1
- 12
- 29
1
vote
0 answers
Open Toggle App Drawer by default when login in odoo
I am using web responsive theme in odoo 11 now i want is to get App Drawer screen as my default screen when i login.
I have tried changing some code in webresponsive.js
showFoundMenus: function(menus) {
this.searching = true;
…

uba
- 39
- 5
1
vote
0 answers
Screen Scraping using WebResponse
In my asp.net based application, I am reading a WebResponse by invoking a Http WebRequest to another aspx page. The response contains a table (Gridview used in actual page) with a td column(among other td columns) containing an anchor element. On…

Justin Samuel
- 1,063
- 4
- 16
- 30
1
vote
1 answer
Remote server error while logging into a website using WebRequest
So I am currently trying to log into my account on a website using WebRequest.
I have been reading about it to the point where I feel like I wanted to use an example to learn by trial and error.
This is the example I am using
Login to website, via…

Jordan Jones
- 125
- 10
1
vote
1 answer
VB.NET - Aborting getting response from a HttpWebRequest
Is there any method of stopping the code running while the HttpWebResponse is still loading the progress?
For example I'm running this code and I'm sure it'll take 10 seconds to get the response:
Dim urlAddress As String = "https://google.com"
Dim…

Mava
- 73
- 10
1
vote
0 answers
Bytes loss while reading stream in httpwebrequest in C# unity3D
I have a some issue in stream reading from WebRequest.GetResponseStream().
I'm trying to download the binary file from web by https proto in Unity using HttpWebRequest\HttpWebResponse (C#). I'm using WebResponse.GetResponseStream() and Stream.read()…

Arthur Poe
- 11
- 1
1
vote
1 answer
WebRequest.GetResponse is not returning anything
I am stuck with this, I am calling a simple report server URL which returns report's PDF, but strangely the WebRequest.GetResponse method doesn't return anything, when I say this, I mean the code just stop executing at that point, no exception, no…

Pawan Nogariya
- 8,330
- 12
- 52
- 105
1
vote
2 answers
Webrequest Webresponse getting 403: forbidden
I'm trying to get some more experience with c# so I want to make a small app using windows forms in Visual Studio. The app should get rocket launch times from https://launchlibrary.net and use them in a countdown.
I have no experience in getting…

Nickcap
- 13
- 1
- 3
1
vote
3 answers
How to post a custom user defined object to a url?
MyObject myobject= new MyObject();
myobject.name="Test";
myobject.address="test";
myobject.contactno=1234;
string url = "http://www.myurl.com/Key/1234?" + myobject;
WebRequest myRequest = WebRequest.Create(url);
WebResponse…

Vishal
- 12,133
- 17
- 82
- 128
1
vote
1 answer
vb.net find line that contain in a string
If I can find line that contains word in a file
File.ReadAllLines(html).FirstOrDefault(Function(x) x.Contains("something"))
How can I find all lines that contains in a string
for example I made an webresponse
Dim rt As String =…

Snoopy Ohoo
- 109
- 1
- 11
1
vote
2 answers
Arabic WebRequest C#
I am trying to access a website through C# using the WebRequest and the WebResponse object,
I logged on to the site and preserved the cookie to further browse it,
The problem is that the website is arabic and somehow I got a formatted message from…

Ahmad Hajou
- 1,289
- 5
- 22
- 39
1
vote
2 answers
WebRequest problem, response before request-body
I'am using the WebRequest class in .net and POST data to a server which is responding with a Response.
The wierd thing is that its working when I started fiddler to analyze my network traffic, but without fiddler it isn't.
So i started to analyze…

Claysson
- 349
- 1
- 4
- 10
1
vote
1 answer
Does all http web Responses have content length field in the header ?
Is there a standard, that says that all the http responses should have a Content-length field. Or is it URL specific?

user2436032
- 365
- 1
- 4
- 13