5 ms·
It's a HTTP API client. There are other things than HTTP out there :-) Also, don't shell out to curl, that's weak sauce. Use libcurl, it has Go bindings.
by the_biot 5y ago
It's a HTTP API client. There are other things than HTTP out there :-)
Also, don't shell out to curl, that's weak sauce. Use libcurl, it has Go bindings.
- jonaslu 5y agoRight, while theoretically possible to do other things than HTTP with the curl backend the other sections do not make sense and it's purpose is HTTP. I'll stress the HTTP in the future, thanks! What would be the benefits of using libcurl instead of shelling out? Would that work without pain on windows?
- somidscr21 5y agoI think the point is that API isn't just used for HTTP and your title assumes HTTP API