pass back http response to rest api calls
check http response object in REST API tests