I'm trying to understand how to run http commands in C++ so I can send requests to an API online and receive a Json response. However, I can't even begin to understand how this works, or what to do. I know I have curl installed on my PC (Windows 10), I checked, and it's there. But... I don't understand how to connect that to Visual Studio? I see a lot of people writing code with
#Include <"curl/curl.h">
I have no idea where this library exists on my PC, where to find it, how to integrate it, etc. Can anyone please help me?
I also see a lot of people using bash? But that's a linux thing, I don't have Linux and have no idea how it works. I'd appreciate just a basic explanation of how to get curl to work with cpp, because I've scoured the internet relentlessly, curlpp doesn't work, libcurl requires tools I don't have and don't fathom, and frankly... It feels like a nightmare of complication for something that should be, on surface level, relatively simple?
Thank you in advance for anyone who could take the time to help me with this.