This question has already been answered:

How to transfer data via POST request to PHP script in C / C ++. I need to create an application in C / C ++, which from under Windows will send data from the user to the Web server using the POST method to the PHP script. I would be very happy if anyone has working code examples in C / C ++.

Reported as a duplicate by Abyx , user194374, Merlin , aleksandr barakin , Nick Volynkin Jan 29 '16 at 5:13 .

A similar question was asked earlier and an answer has already been received. If the answers provided are not exhaustive, please ask a new question .

    1 answer 1

    For example, using curl. Examples , including how to make a post request. What is on the php server is absolutely irrelevant.