Northwestern Mutual interview question

How do you know if a REST call was successful?