1

i want to send a http post request in c with the wininet.h library.

But i dont know how to do this. I only find c++ tutorials everywhere but none for c. Can someone show me how to do this?

I appreciate any help.

  • Sorry, what's the wininet.h library? Have you some url where it can be found? can you edit your post to include some reference of that library? – Luis Colorado Feb 22 '22 at 09:43

1 Answers1

0

I recommend you to read "Unix network Programming" Vol 1 (Richard Stevens et al) It shows you how to use C for networking purposes. Also reading the HTTP protocol specifications, which describes how to connect to a web server and how a POST method is composed and handled. You don't post any code, so it's very difficult to help you from here, leaving us only to direct you to a good source of information (the ones cited here are)

Luis Colorado
  • 10,974
  • 1
  • 16
  • 31