[Mono-list] Linux command line curl to C#

Alf Stockton alf at stockton.co.za
Wed Oct 8 07:50:03 UTC 2014


Please tell me how I would code the following Linux command line to C#.
I have read google and the curl documentation but am still confused.
BTW Names etc have been changed to protect the innocent.
curl -X POST https://server.com -Hcontent-type:application/xml -d 
@WellFormed.xml
As I said server.com and WellFormed are names I sucked out of my thumb.
Just in case someone wants to ask, the command line does exactly what is 
required but now I need to do the same in C#.

-- 

Regards,
Alf Stockton              www.stockton.co.za



More information about the Mono-list mailing list