Response Code kya hai?
- Get link
- X
- Other Apps
Response Code kya hai?
Response Code ya Status Code ek 3-digit ka number hota hai jo server hume deta hai jab hum kisi website, API, ya internet se judi request bhejte hain.
Ye code batata hai ki:
-
Request sahi thi ya nahi
-
Server ne request samjhi ya error aayi
-
Result success tha ya fail
🔹 Response Codes ke 5 Main Categories:
| Code Range | Category | Arth |
|---|---|---|
| 1xx | Informational | Request receive ho gayi hai, processing chal rahi hai |
| 2xx | Success | Request sahi se complete ho gayi |
| 3xx | Redirection | Kisi aur location par redirect ho raha hai |
| 4xx | Client Error | User side se galti (jaise wrong URL) |
| 5xx | Server Error | Server side ki problem |
🔸 Most Common Response Codes with Meaning:
| Code | Naam | Matlab (Hindi mein) |
|---|---|---|
| 200 | OK | Request sahi thi, data mil gaya |
| 201 | Created | Request sahi thi, naya data ban gaya |
| 301 | Moved Permanently | Page permanently shift ho chuka hai |
| 302 | Found (Redirect) | Temporarily dusre page pe bhej raha hai |
| 400 | Bad Request | Galat request bheji gayi hai |
| 401 | Unauthorized | Login ya permission ki jarurat hai |
| 403 | Forbidden | Access mana hai |
| 404 | Not Found | Page ya data nahi mila |
| 500 | Internal Server Error | Server mein koi problem hai |
| 503 | Service Unavailable | Server abhi busy ya down hai |
Use kaha hota hai?
-
Web development
-
SEO checking (404 errors)
-
API testing
-
Server monitoring
Aap chahein to kisi ek response code ka detail bhi puchh sakte hain, jaise:
404 Not Found ka kya matlab hai?
Ya 401 Unauthorized kab aata hai?
- Get link
- X
- Other Apps
Comments
Post a Comment