SeeURL  Swift wrapper for cURL Compiling on Ubuntu First install SwiftFoundation dependencies. sudo apt-get install libcurl4-openssl-dev sudo cp cURLSwift.h /usr/include/curl