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!
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!
