![]() |
|
How to use curl in a C program? Need help with implementation! or Struggling with how to use curl in - Printable Version +- Proxy Community (https://proxycommunity.com/forum) +-- Forum: Technical Community Support (https://proxycommunity.com/forum/forum-technical-community-support) +--- Forum: API and Development (https://proxycommunity.com/forum/forum-api-and-development) +--- Thread: How to use curl in a C program? Need help with implementation! or Struggling with how to use curl in (/thread-how-to-use-curl-in-a-c-program-need-help-with-implementation-or-struggling-with-how-to-use-curl-in) |
“” - maskedTraveler77 - 02-04-2025 OP Reply: Wow, thanks everyone! This is super helpful. I got the basic GET working with your examples—turns out I wasn’t checking the return codes properly. Still getting a crash when I try to POST, though. @user who mentioned `CURLOPT_POSTFIELDS`, do I need to set anything else for POST requests? Like headers or something? Also, the `CURLOPT_VERBOSE` tip saved me so much time. Cheers! |