curl-library
Re: hi
Date: Wed, 14 Dec 2016 16:14:30 +0000
> On 14 Dec 2016, at 13:42, Gregory Davis <gregory.k.davis_at_stonybrook.edu> wrote:
> 
> hi thanks for the add to your site. i am new to programming and Curl specifically and have a programming question.
> 
> i have these Curl command lines i would to transform to C but don’t know how to do it 
> is there any tutorials or pdfs on doing this? my end goal is to write it into a module that use c+ or c Sharp and build a module for the code
> 
> her is a representative of the command lines in question.
> 
> curl -u instructor:password -k -d '' —url https://129.59.80.202:8443/capture/pause
> 
> 
> curl —user instructor:password  -k --url https://129.59.80.202:8443/status/system
> 
>  
> Any help or direction would be greatly appreciated.
curl can do that for you automatically. From the manpage:
  --libcurl <file>
         Append this option to any ordinary curl command line,  and  you  will
         get  a  libcurl-using C source code written to the file that does the
         equivalent of what your command-line operation does!
-- Alex Bligh ------------------------------------------------------------------- List admin: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2016-12-14