Most voted "webrequest" questions
21 questions
Sort by count of
-
6
votes1
answer493
viewsHow to recover the page HTML generated with Angularjs via C# ?
How to recover HTML code from a page that uses Angularjs to process some information and generate a graph? I was able to easily recover the HTML code using Webrequest as demonstrated in the example…
-
4
votes1
answer528
viewsDetect proxy configuration in webrequest
Good afternoon my dear, I need to make a request for an api that stays in an external domain the local network, I perform this through a webrequest that was created this way: WebRequest myWebRequest…
-
2
votes1
answer876
viewsWebrequest 504 Gateway Timeout
Eai guys, I’m having a hard time understanding why is giving gateway timeout in a request, since I tested by Curl and was normal, I’m using Basic Auth. Follows: var authorization = "apikey:";…
-
2
votes1
answer85
viewsPOST coding
In web requests when posting data on a server string of the model below (using the parameters): string hello = "hello"; string token = "teste=="; It is transformed into post data equal to those…
-
2
votes1
answer2822
viewsHow to get all the HTML of this page as a string?
I’m doing a college job and with that trying to read the HTML of a Bradesco page(Link I want HTML here) The problem is that I can’t get the HTML inside the frames and I don’t know how to get it.…
-
1
votes1
answer541
viewsCheck if file is newer and then download
I created a windows service, which daily downloads some files. These files have about 2Gb (that’s right, two gigabytes!). The problem is that these files are every day available on the site, but are…
-
1
votes0
answers1347
viewsAutomatically log into a web-site c# Programmatically
The company where I work 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 logged in. 1 Step: Access Site 1…
-
1
votes0
answers209
viewsProblem with Httpwebresponse. Does not answer
I hope you can help me, I have a problem when I try to see c# make a request on my server ( the request is slow, takes about 10 minutes to be processed and returned ) For quick requests everything…
-
1
votes1
answer277
viewsweb request and json no c#
I am working with firebase, and I am searching the server data with Httpwebrequest, I was able to recover this data in the following way; {"-L1od7ljenm8zhsps7ne":{"Age":"18…
-
1
votes1
answer37
viewsc# - uploading file to ftp works only the first time
I have a function that sends files to an ftp, the first time I use it works perfectly, but when I use it for the second time it gets stuck on the line: using (Stream Writer =…
-
1
votes0
answers3157
viewsUnable to read transport connection data: Forced cancellation of an existing connection by remote host
I am trying to make a file read in "csv" style. After reading I have to add it to the bank, however I get the following error = "Unable to read transport connection data: Forced cancellation of an…
-
1
votes1
answer915
viewsHow to request via c#? Webrequest vs Httpclient
I have a project in . Net Framework 4.6.1, and in my research I concluded that I can use the class Webrequest to request other web services via backend. I wish I could make requests using any http…
-
1
votes0
answers327
viewsError "Cannot send a content-body with this Verb-type"
Guys, I’m having trouble with the mistake "Cannot send a content-body with this Verb-type.". I’ve changed the method to POST, but the API only accepts if the given method is GET. I’ve tried to send…
-
0
votes0
answers63
viewsRead page with asynchronous call
I make a call via WebRequest and this page has a Javascript function that the result of it cannot recover (it loads an image). I need to wait to finish loading the page for after the page is fully…
-
0
votes0
answers45
viewsPass token by query param
I have an application that runs on one door and I need to call another application on another port, to pass a token. Passing a token per query param in the url is good practice? Example:…
webrequestasked 6 years, 9 months ago Guilherme Nass 939 -
0
votes0
answers98
viewsRecaptcha token validation request returns nothing - Nodejs Request
Good evening, I’m studying bots to automate buying tennis on sites like artwalk and nike through web requests and other automation systems via requests. My problem consists of a attempt to intercept…
-
0
votes2
answers705
viewsUse Ftpwebrequest with Uri https
Srs(as), good afternoon, I am creating a service that will upload some files to an FTP link, however this is like HTTPS (https://path/path). occurs that the class Ftpwebrequest does not allow the…
-
0
votes1
answer100
viewsReceiving json from a web server
I am working with firebase, and I am searching the server data with Httpwebrequest, I was able to recover this data in the following way; {"-L1od7ljenm8zhsps7ne":{"Age":"18…
-
0
votes1
answer419
views.Net c# Webrequest Post
People I’m studying Webrequest, I’m trying to make a query on the site of the post office and so I read it should look like this: WebRequest request =…
-
0
votes1
answer34
viewsGet JSON file from an API
I’m beginning to understand about API but I’m having a great difficulty because I’m trying to consume a JSON from an API according to the code below: HttpWebRequest request =…
-
-1
votes1
answer184
viewsHow to configure the credentials of a webRequest?
How do I perform an ASP NET MVC 5 request in this way: Method = post; Authentication credentials = xxx:yyyyy (i.e., username, followed by two points, followed by password, encrypted in Base64…