How an HTTP request works

Match each successful server response or failure to the interface message that fits.

Examples

Example 1

Input
200 with []
Expected output
No entries yet

Example 2

Input
404 for a lesson
Expected output
Lesson not found

Example 3

Input
Network disconnected
Expected output
Check your connection and retry

Hints and solution

Hint 1

An empty list can be a valid result. A missing URL is different.

Reveal worked answer

A successful empty response means the collection exists without records. A 404 means the requested resource could not be located. A network failure means the browser did not receive a response.

Back to the lesson