a simple generic http api calling bootstrap