Add support for some http api calls