Reputation: 716
I'm trying to access a website url(https) and read back it's contents(a json from an api). What c commands would I use?
Upvotes: 0
Views: 300
Reputation: 604
Have you looked at libcurl? Never used it, but I've seen it used quite a bit. Otherwise it's going to be somewhat system dependant, if you're on linux you could use popen() on a command that dumps to stdout.
Upvotes: 2