Building plugins using libcurl

Hey Everyone,

I’ve only recently gotten into plugin development for Rack and was looking to GET some data from a REST API to use for processing/sequencing in a module.

I’m used to dynamically linking the libcurl binary with my (Xcode) projects when using libcurl with C++.

I was wondering if someone can point me in the right direction at using libcurl within a Rack module? I’m confused as to linking libcurl appropriately with the module code.

I understand this might be more of a general C++ question after one point, but any advise would be appreciated!

Thanks

1 Like

Hi. libcurl is already statically linked in Rack and you can “just” use it in a module, you only need to include the header-files.

1 Like

That’s super useful, thanks a lot!