assert http call successful