Click here to Skip to main content
15,884,176 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have this curl request which I've been able to cobble together from various tutorials, and it works, but I need to be able to do it in C#.

curl -K myconfig.cfg http://myserver/servlet which reads config file from stdin

where myconfig.cfg is a configuration file with some name/value pair

I have no code to look at, as I have no idea where to start.

Does anyone have any tutorial on How can it be implemented the same behavior using c# web request?
Posted
Updated 22-Feb-15 7:41am
v3
Comments
Zoltán Zörgő 23-Feb-15 15:34pm    
Well?

1 solution

Curl is not a command, it is an executable. But also a library! You better look for a wrapper around that library. Like this one: https://github.com/masroore/CurlSharp[^], bout you might find more out there.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900