Add http server and execute inline function