开发者

cURL time out error

开发者 https://www.devze.com 2023-03-26 23:56 出处:网络
I am using cURL for my .NET application (specifically curl.exe as a process), however CURL keeps giving me timeout errors, more specifically curl: (28) Connection time-out, no matter which URL I use.

I am using cURL for my .NET application (specifically curl.exe as a process), however CURL keeps giving me timeout errors, more specifically curl: (28) Connection time-out, no matter which URL I use.

Is there a workaround for this, either an alternative to cURL for .NET? I have used WebClient & HTTPWebRequest, but it keeps giving me either 400 Bad Request errors or time out errors.

EDIT: However, WebClient & HTTPWebRequest works for simple requests but it keeps giving me those errors only if I start开发者_Go百科 using WebClient.UploadData.

0

精彩评论

暂无评论...
验证码 换一张
取 消