C++ Programming on Linux - Libcurl sending HTTPS Get/HTTPS Post Request

Опубликовано: 30 Март 2023
на канале: Hui Yuan
1,571
11

In previous video it has discussed new library libcurl - client side url library, the example in previous video are using libcurl to write a C++ program that sending HTTP GET and HTTP POST request.
As we know HTTP protcol is possible to get man-in--middle attack and it has been considered as not secure protcol. and many
API and project are disable of using HTTP and switched to using HTTPS protcol.

https://curl.se/libcurl/
Since there are more web security concerning and it looks like HTTPS is replacing HTTP in these days.
In this short video it will discuss how to use libcurl write a C++ program to send HTTPS GET and HTTPS POST request.

Open SSL Create Certificate command :

openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout my_private.key -out my_x509_certificate.crt
openssl dhparam -out my_dh2048.pem 2048

curl command for fetch HTTPS web page :
curl -k -v -w'\n' --get https://your_web_url/

The example code has been uploaded onto GitHub for your reference:
https://github.com/yuanhui360/CPP-Pro...


На этой странице сайта вы можете посмотреть видео онлайн C++ Programming on Linux - Libcurl sending HTTPS Get/HTTPS Post Request длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Hui Yuan 30 Март 2023, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 1,571 раз и оно понравилось 11 зрителям. Приятного просмотра!