Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sending http and https requests from C/C++

Tags:

c++

google-api

Is there any other variants to send http/https request from C/C++ except using libCurl? I can't figure out how to use libCurl with OpenSSL :( I want to interact with YoutubeAPI.

like image 831
Country Avatar asked Sep 14 '25 17:09

Country


2 Answers

SFML has a nice, simple to use in-built HTTP implementation. You can find a tutorial here. It looks to me that for youtube you can simply use POST - look here.

like image 143
Seb Holzapfel Avatar answered Sep 16 '25 15:09

Seb Holzapfel


Perhaps these two examples will be of help to you?

http://curl.haxx.se/libcurl/c/https.html

http://curl.haxx.se/libcurl/c/simplessl.html

like image 25
IneQuation Avatar answered Sep 16 '25 14:09

IneQuation