Questions tagged as 'webrequest'

2
answers

Use FtpWebRequest with uri https

Sirs, good afternoon, I'm creating a service that will upload some files to an FTP link, but this is like HTTPS ( link ). It occurs that the FtpWebRequest class does not allow the use of uri hhtp / https, with the error below occurring....
asked by 09.11.2015 / 17:30
1
answer

Check if file is newer and then download

I created a windows service, which daily downloads some files. These files are about 2Gb (that's right, two gigabytes!). The problem is that these files are available every day on the site, but are updated randomly on a weekly basis, that is,...
asked by 26.11.2014 / 12:53
1
answer

How to make requests 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 WebRequest to make requests to other web services via the backend. I would like to be able to make requests using any HTTP verb . You can also us...
asked by 17.12.2018 / 13:12
0
answers

Passing token by query param

I have an application that runs on a port and I need to call another application on another port to pass a token. Passing a token per query param in url is good practice? Example: link     
asked by 13.03.2018 / 13:18
1
answer

Receiving json from a web server

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

Convert CURL command in WebRequest

I need to run the command below: curl -X POST -u "{username}":"{password}" -H "Content-Type: application/json" -d '{ "name": "my_environment", "description": "My environment" }' "https://gateway.watsonplatform.net/discovery/api/v1/enviro...
asked by 02.12.2017 / 21:14
0
answers

Read page with asynchronous call

I make a call via WebRequest and this page has a JavaScript function that the result of it can not retrieve (it loads an image). I need to wait to finish loading the page to after the page is fully loaded, and can I load the entire page?...
asked by 12.11.2014 / 13:32