libcurl video tutorial: simplest
ฝัง
- เผยแพร่เมื่อ 23 ธ.ค. 2024
- This is the "simplest" episode of the libcurl video tutorials. Do the first basic libcurl application that downloads a HTTPS URL and sends the content to stdout. All files shown are available at the link.
See bagder.github....
I love using libcurl on c++, but till now i have no idea how to link it statically. It gives hundreds of errors.
this is EXACTLY what I needed. Thank you.
Nice and to the point, thank you. I appreciate how you are voicing the code AND where it is (ie global vars at 1:02). SUGGESTION: Please increase your font size for code, so it is more comfortable to read when watching your video on a smaller laptop or tablet. Cheers
I'm getting the following error: SSL peer certificate or SSH remote key was not OK.
do you have a recommendation on how to tackle this problem in a secure way, I'm running on Windows, DEVC++ compiler app
How can I use libcurl to get info about distance from new york to london?
You find an API somewhere that you can ask, then setup libcurl to query that API.
how can I use cURL library?
This video takes you through the steps to make a first simple libcurl-using application!
my res variable returns the error instead of the HTML file. Can somebody help me understand why? My code is the exact same as shown in the video.
Then check the error code and read up on what it means!
how can i use curl to login to a website in c/c++ ? what are the conditions of logging to a website like what headers does it require etc.
It totally depends on what "login" means. Usually you just have to POST your credentials, receive the cookies and then use those cookies in subsequent requests - as a "logged in" user.
Hi Daniel, I'm new to programming and I'm struggling with this: when I copy this part ''char* ptr = realloc(mem->memory, mem->size + realsize + 1);'' An error like this occurs ->
E0144 a value of type "void *" cannot be used to initialize an entity of type "char *" . Why? If it works there.
build it as C code and not C++. For more, I think you should find and use a forum for C/C++ help rather than libcurl to get the basics to compile.
This is the simplest...?
Pretty much. It really is very simple and doing a HTTPS transfer can really not be done much simpler!
🏅👣🤫🔥👍