Questions tagged as 'webrequest'

1
answer

How to retrieve via C # the page HTML generated with AngularJS?

How to retrieve the HTML code of a page that uses AngularJS to process some information and generate a chart? I was able to easily retrieve the HTML code using WebRequest as demonstrated in the example below, but the content (graphic) generated...
asked by 29.02.2016 / 15:08
1
answer

Detect proxy setting on webrequest

Good afternoon my dear, I need to make a request for an api that is in a domain outside the local network, I do this through a webrequest that was created this way: WebRequest myWebRequest = WebRequest.Create("urldestino"); However, the net...
asked by 21.07.2017 / 22:33
1
answer

How do I get all the HTML of this page as a string?

I'm doing a college job and so trying to read the HTML of a bradesco page ( Link I want HTML here ) The problem is that I can not get the HTML that is inside the frames and I do not know how to get it. Currently what I'm trying to do to ge...
asked by 02.03.2016 / 18:27
1
answer

WebRequest 504 Gateway Timeout

Hey guys, I'm having trouble understanding why gateway timeout is given in a request, because being tested by cURL and it was normal, I'm using Basic Auth. Following: var authorization = "apikey:"; HttpWebRequest wbRequ...
asked by 02.02.2015 / 14:29
1
answer

POST encoding

In Web requests when posting data on a server a string from the template below (using the parameters): string hello = "hello"; string token = "teste=="; It is transformed into post data like the ones shown below: string post = "msg=hell...
asked by 12.08.2016 / 16:12
1
answer

web request and json in c #

I'm working with firebase, and am fetching the data from the server with HttpWebRequest, I was able to recover this data as follows;    {"- L1OD7LjENM8ZHSpS7NE": {"Age": "18   years "," Name ":" vitor "," Telephone ":" 11   970705570 "}," - L...
asked by 28.12.2017 / 16:58
1
answer

c # - file upload on ftp works only the first time

I have a function that sends files to an ftp, the first time I use it it works perfectly, however when I use it a second time it gets stuck on the line: using (Stream writer = ftpRequest.GetRequestStream ()) The full function code follows:...
asked by 15.06.2018 / 05:14
0
answers

Unable to read transport connection data: A connection from the remote host was forced to terminate

I am trying to do a file reading in the "csv" style. After reading it I have to add it to the database, however I get the following error=" Unable to read transport connection data: A remote connection was forced to be terminated by the remote...
asked by 22.02.2018 / 19:49
0
answers

Problem with HttpWebResponse. Does not reply

I hope you guys can help me, I'm having a problem when I try via c # make a request on my server (request is slow, takes about 10 minutes to process and returned) For fast requests, everything works fine for slow requests (more than 10 minu...
asked by 10.09.2015 / 21:35
0
answers

Log in automatically to a web-site C # Programmatically

The company I work for has 3 websites both with login and password I would like to know something in C # .NET or Javascript that is from a redirect link. 1 Step: Access the Site 1 www.site.com.br 2 Step: Login Site 1 Step 3: Within Site...
asked by 02.04.2015 / 21:37