HTTP Status Codes Explained In 5 Minutes

  Рет қаралды 74,412

ByteByteGo

ByteByteGo

7 ай бұрын

Get a Free System Design PDF with 158 pages by subscribing to our weekly newsletter: bytebytego.ck.page/subscribe
Animation tools: Adobe Illustrator and After Effects.
Checkout our bestselling System Design Interview books:
Volume 1: amzn.to/3Ou7gkd
Volume 2: amzn.to/3HqGozy
The digital version of System Design Interview books: bit.ly/3mlDSk9
ABOUT US:
Covering topics and trends in large-scale system design, from the authors of the best-selling System Design Interview series.

Пікірлер: 33
@roganl
@roganl 7 ай бұрын
Hey you missed 418 "I'm a teapot"!
@gosnooky
@gosnooky 7 ай бұрын
I always use and recommend these to give extra context to client errors: 409 Conflict - used when trying to create en entity that already exists, such as a user account with a unique email constraint. 422 Unprocessable Entity - when the JSON body payload fails to validate 415 Unsupported Media Type - when requesting with a content-type or mime type the endpoint does not accept, such as posting XML or uploading an EXE instead of a JPG 410 Gone - similar to a 404, but this implies that the resource existed at some point, but no longer does - such as a banned user account 412 Precondition Failed - when attempting to associate a dependency with a given resource that doesn't exist or cannot be associated with the resource I see lots of people, instructors on KZbin especially, using 400 for all or most of the above. While a client error is a client error and requires handling regardless, the proper status code adds semantics and context to the error.
@danielschmider5069
@danielschmider5069 7 ай бұрын
405 Method Not Allowed is also quite common, it means that you used a method verb ("GET", "PUT", "POST") that this route does not support. It is also very easy to fix usually, and I am always happy that this has an entirely separate status code because I know exactly what went wrong.
@re.liable
@re.liable 7 ай бұрын
Thanks. I'm now on the backend part of my fullstack journey, so these are very timely. Gonna go through the previous uploads soon
@dougselby7592
@dougselby7592 7 ай бұрын
curl -v for verbose reponses including headers was always my favourite way to do this kind of debugging.
@solivangirl923
@solivangirl923 6 ай бұрын
Thanks for this brief on the common HTTP status codes, and thanks for teaching us!🤓
@fullStackInKannada
@fullStackInKannada 7 ай бұрын
Very nice and useful information, thank you :)
@sophyia4358
@sophyia4358 7 ай бұрын
This is so useful. Thanks!
@ameerhamza9315
@ameerhamza9315 7 ай бұрын
Great Video , Thanks
@ndanqkhoa
@ndanqkhoa 7 ай бұрын
I watched the videos of the channels, they were all great!! What note-taking app are you using? What application helps you draw descriptions?
@kishanbsh
@kishanbsh 7 ай бұрын
You should do a video in E-Tag header and associated mechanism.. I wish I had known that a bit early in my career
@igboanugwocollins4452
@igboanugwocollins4452 7 ай бұрын
Learnt a lot, thank you
@JuanRebella
@JuanRebella 7 ай бұрын
thanks man, you're great!
@FlyingSparrow001
@FlyingSparrow001 Ай бұрын
Good job!
@user-pf9rn5bj4f
@user-pf9rn5bj4f 3 ай бұрын
Very nice reading voice brother.
@mhwadah
@mhwadah 7 ай бұрын
Thank you for all the hard work you've put into this. I truly appreciate the informative content and the approachable manner in which you presented it. On a related note, I'm curious - what tool or software do you use to create the animated infographics?
@kanelives2895
@kanelives2895 6 ай бұрын
>what tool or software do you use to create the animated infographics? It says exactly in the 2nd sentence of the video's description.
@nishitshetty1746
@nishitshetty1746 7 ай бұрын
I give this 200 :p
@wolfxlover
@wolfxlover Ай бұрын
"500...that's the server's cry for help." xD Thanks for the great lesson.
@mykalimba
@mykalimba 5 ай бұрын
I'm wondering how others decide to walk the line between 1) giving enough information that legitimate users of your API can find useful, and 2) giving too much information to bad actors that can use that information to compromise your site. I tend to skew more towards the latter, and return information that is deliberately vague; I don't want provide specifics on why an API call failed.
@BalloonSchool
@BalloonSchool 7 ай бұрын
What do I should use when I want to update my side in the backend and the website will be online again in 1-2 hours? 200 or 503?
@trilecao9014
@trilecao9014 7 ай бұрын
Next video suggestion: HTTP header directives
@brencancer
@brencancer 7 ай бұрын
418 I'm a teapot 420 Enhance your calm
@varuntanwar6746
@varuntanwar6746 2 ай бұрын
I tried to delete an entry in the database, I got 200 Ok on my postman. Do I have to explicity mention in RepsonseEntity that i want 204 status code?
@himanshusharma-ng5iw
@himanshusharma-ng5iw 7 ай бұрын
Why is 401 unauthorized and not unauthenticated ?
@DemPilafian
@DemPilafian 7 ай бұрын
The "P" in HTTP stands for *Protocol.* The protocol level is *NOT* the application level. Many REST concepts are fantastic, but trying to shove application level errors into protocol level error handling has caused endless pain for both backend and frontend developers. Stack Overflow has questions about HTTP errors with dozens of highly upvoted answers that are mutually exclusive. Even if you think your techniques for handling HTTP errors are superior, it's certain that at least 35% of other developers disagree with you. *The way you handle HTTP errors is wrong, and that's a guarantee.*
@codegreenie3429
@codegreenie3429 7 ай бұрын
As a programmer, i can confirm 500 is the most painful. You never know whats going on
@saipavan1665
@saipavan1665 7 ай бұрын
Hi sahn
@boogiman007
@boogiman007 7 ай бұрын
I'm a teapot
@paljain01
@paljain01 7 ай бұрын
now postman and insomania both required to open an account.
@gosnooky
@gosnooky 7 ай бұрын
Shameful. I feel sorry for Insomnia's creator who sold it believing it would be in good hands.
@httyfrudkyYouTube2024
@httyfrudkyYouTube2024 6 ай бұрын
❤️#गुजराती गाना बेवफा 2023 नई टीमली# दिल ठीक💔 करने
@englishup1
@englishup1 4 ай бұрын
あなたは日本人ですか。maybe the accent gives it away! 英語を勉強したい?  You are very good, but let me know! I can help with intonation and small mistakes! :)
How To Choose The Right Database?
6:58
ByteByteGo
Рет қаралды 275 М.
What happens when you type a URL into your browser?
5:20
ByteByteGo
Рет қаралды 305 М.
where is the ball to play this?😳⚽
00:13
LOL
Рет қаралды 14 МЛН
Chips evolution !! 😔😔
00:23
Tibo InShape
Рет қаралды 26 МЛН
ПЕЙ МОЛОКО КАК ФОКУСНИК
00:37
Masomka
Рет қаралды 9 МЛН
HTTP Status Codes Explained
8:34
Integration World
Рет қаралды 13 М.
Good APIs Vs Bad APIs: 7 Tips for API Design
5:48
ByteByteGo
Рет қаралды 194 М.
WebSocket - The Easiest and Detailed Explanation
9:35
Coding with Yalco
Рет қаралды 1,4 М.
10 Coding Principles Explained in 5 Minutes
5:44
ByteByteGo
Рет қаралды 98 М.
Before you move to HTTP/3 ...
11:31
Hussein Nasser
Рет қаралды 15 М.
Top 7 Ways to 10x Your API Performance
6:05
ByteByteGo
Рет қаралды 301 М.
HTTP Status Codes Simply Explained in Flask
17:10
NeuralNine
Рет қаралды 4,5 М.
Cache Systems Every Developer Should Know
5:48
ByteByteGo
Рет қаралды 432 М.
Difference between cookies, session and tokens
11:53
Valentin Despa
Рет қаралды 562 М.
Consistent Hashing | Algorithms You Should Know #1
8:04
ByteByteGo
Рет қаралды 276 М.