I searched and found this related post, and use it as the basis for this question
Simple C example of doing an HTTP POST and consuming the response
Jerry's code works perfectly, but I have an unusual issue. I have Cloudflare implemented on the destination server, which means that the destination cannot be addressed by IP, it has to be directed to the fully qualified domain URL. I proved this by using the code, but got a return message from Cloudflare informing me that the IP could not be used.
My question is, will C support POST to a URL, or does it have to be to an IP address? If if will accept the domain, what can I do to alter that code ?