From the course: Introduction to Web APIs

Unlock the full course today

Join today to access over 23,200 courses taught by industry experts.

Response status codes

Response status codes - REST Tutorial

From the course: Introduction to Web APIs

Response status codes

- [Instructor] Throughout this course, we've been working only with requests that have been done correctly and we've received the data without any problems. But it's good to briefly dig a little deeper and see what other information is available to us so that when there are problems or errors we're better able to deal with them. Part of the response that we haven't been looking at are codes that tell us more about the status of our request. One of them, you're probably already frustratingly familiar with, the annoying 404 error page, not found. There are four groups of status codes. Within each group there are specific numbers that tell us more detail about the response but knowing just the four general groups is usually enough. Status codes in the 200s tell us everything was okay. The request was received and response sent without any problems. Two hundred status codes are hopefully the most common. Three hundred codes tell…

Contents