Print response code and return true/false for success/failure.