Raised This Month: $ Target: $400
 0% 

CURL Help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 05-11-2021 , 11:16   Re: CURL Help
Reply With Quote #2

You already got a link to documentation in the other thread. https://curl.se/libcurl/c/
Use it.

For example, for CURLOPT_CAINFO you would click on curl_easy_setopt, then search for CURLOPT_CAINFO and finally get here: https://curl.se/libcurl/c/CURLOPT_CAINFO.html

Also google for curl tutorials and examples. They may be in C, but the API is very similar.
If you use linux or WSL you can always play with "curl" from command line to get a better feel for how it works. For example:
Code:
curl https://lexzor.warface.ro/AutoUpdate/Test/version.txt
will give you:

Code:
snip:~$ curl https://lexzor.warface.ro/AutoUpdate/Test/version.txt
999
snip:~$
__________________

Last edited by HamletEagle; 05-11-2021 at 11:19.
HamletEagle is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:29.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode