CODIGOS HTTP Flashcards

(16 cards)

1
Q

ÉXITO ¿Qué código indica que todo está correcto?

A

200 OK

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

ÉXITO ¿Qué código indica que el recurso fue creado?

A

201 Created

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

ÉXITO ¿Qué código indica que la solicitud fue aceptada ✅ pero aún no procesada 🤚🏻?

A

202 Accepted

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

REDIRECCIÓN ¿Qué código indica una redirección definitiva?

A

301 Moved Permanently

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

REDIRECCIÓN ¿Qué código indica una redirección temporal?

A

302 Found

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

REDIRECCIÓN ¿Qué código indica que el recurso no ha cambiado?

A

304 Not Modified

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

ERROR DE CLIENTE ¿Qué código indica que no está autenticado y por lo tanto no autorizado?

A

401 Unauthorized

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

ERROR DE CLIENTE ¿Qué código está reservado para pagos?

A

402 Payment Required

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

ERROR DE CLIENTE ¿Qué código indica que el acceso está prohibido?

A

403 Forbidden

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

ERROR DE CLIENTE ¿Qué código indica que el recurso no fue encontrado?

A

404 Not Found

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

ERROR DE CLIENTE ¿Qué código indica que el método no está permitido?

A

405 Method Not Allowed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

ERROR DE CLIENTE ¿Qué código indica que el cuerpo de la solicitud es demasiado grande?

A

413 Payload Too Large

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

ERROR DE SERVIDOR ¿Qué código indica un error interno del servidor?

A

500 Internal Server Error

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

ERROR DE SERVIDOR ¿Qué código indica una respuesta inválida de otro servidor?

A

502 Bad Gateway

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

ERROR DE SERVIDOR ¿Qué código indica que el servidor no está disponible?

A

503 Service Unavailable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

📖 Historia de los códigos HTTP

A

2xx Éxito
- 200 OK → Todo va bien 🎉
- 201 Created → Te registras y la cuenta se crea 🆕
- 202 Accepted → El servidor acepta tu formulario pero lo procesa luego ⏳

↪️ 3xx Redirección
- 301 Moved Permanently → La página se mudó para siempre 🏠
- 302 Found → Redirección temporal ⏱️
- 304 Not Modified → Nada cambió desde la última vez 📂

🚫 4xx Errores del cliente
- 401 Unauthorized → Intentas entrar sin contraseña 🔑
- 402 Payment Required → Sin pagar la cuota 💰
- 403 Forbidden → Acceso prohibido 🚷
- 404 Not Found → Página no existe ❌
- 405 Method Not Allowed → Usas un método no permitido 🛑
- 413 Payload Too Large → Subes un archivo gigante 📦

💥 5xx Errores del servidor
- 500 Internal Server Error → Error genérico 🔥
- 502 Bad Gateway → El puente entre servidores falla 🌉
- 503 Service Unavailable → Servicio caído ⛔

📌 Regla final:
- 2xx = todo bien ✅
- 3xx = te redirigen ↪️
- 4xx = error tuyo 🚫
- 5xx = error del server 💥