This is an interface object to work with HTTP based apis.