use a new helper method to verify HTTP response codes are 200 OK