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

Edward Ned Harvey (mono) edward.harvey.mono at clevertrove.com
Wed Oct 8 11:17:46 UTC 2014


> From: mono-list-bounces at lists.ximian.com [mailto:mono-list-
> bounces at lists.ximian.com] On Behalf Of Alf Stockton
> 
> curl -X POST https://server.com -Hcontent-type:application/xml -d
> @WellFormed.xml

Oh, um - 

You might need to escape some characters, for example:
"C:\\Users\\eharvey\\myprogram.exe blah blah"

Or mark it as a string literal:
@"C:\Users\eharvey\myprogram.exe blah blah"


More information about the Mono-list mailing list