I have a webpage, say at www.mypage.com
, which uses $_GET
to fetch data and then saves the fetched data into the MySQL
database.
I need to send this HTTP Request
from a Cpp File.
How can I send a HTTP Request
from Cpp file?
I have a webpage, say at www.mypage.com
, which uses $_GET
to fetch data and then saves the fetched data into the MySQL
database.
I need to send this HTTP Request
from a Cpp File.
How can I send a HTTP Request
from Cpp file?
Yes, libcurl should be helpful. You can send some data by GET parameters or by POST and read responses. (Maybe necessary to verify a successful transmission) Here are some examples: http://curl.haxx.se/libcurl/c/example.html