Yes FGAIS is a finished source code who use Curl.
The compilation works fine with g++ but don't work with cmake
You have download the source code of FGAIS here : http://clemaez.fr/flightgear/fgais_src.tar.gz
As you can see this source code use Curl and the compilation works perfectly with g++
I don't understand why cmake don't compile it :/
I f you are able to implement httpRequest from Simgear I'm ready to use it instead of Curl. I have no idea how to include it.