Call two http methods