Learn HTTP Status Codes In 10 Minutes

Поделиться
HTML-код
  • Опубликовано: 9 ноя 2024

Комментарии • 114

  • @pipertripp
    @pipertripp 5 лет назад +88

    418 is the best response code, hands down.

    • @carlknightcoph9494
      @carlknightcoph9494 3 года назад +11

      be 410

    • @imaneamouna936
      @imaneamouna936 3 года назад +1

      🤣

    • @jareklotz
      @jareklotz 3 года назад +1

      but nowadays, chrome presents 418 as 500 :{

    • @DevMeloy
      @DevMeloy Год назад

      I was bummed this wasn’t mentioned. I used it at a previous job just for s&g’s

    • @scoutgaming737
      @scoutgaming737 Год назад +1

      The "sir this is wendy's" if status codes

  • @kennethbass1915
    @kennethbass1915 2 года назад +15

    simple to follow and thorough. EXACTLY WHAT I NEEDED!

  • @jagritysharma6857
    @jagritysharma6857 2 года назад +3

    I was searching a lot of videos on it but seriously you have explained in a very perfect manner.. a big thanks to you..😀

  • @melikalcicek7602
    @melikalcicek7602 2 года назад +1

    Great instructor. I've searched on youtube to review API and and I've seen your video. I watched it and subscribed immediately.

  • @Valyssi
    @Valyssi 2 года назад +6

    Just a note about 5xx (e.g 500) status codes, although they are server errors, they can be caused by client issues like bad input. However, when that is the case, a 500 status code suggests the server failed to handle that incorrect input.
    For example, say you require the user to input a number using a text field, on the server you use a function to cast it to a Number. If the user entered non-numeric content and the server failed to validate it / handle errors, it will usually send a 500 status code even if the client _could_ prevent it with correct input. Of course it still remains the duty of the server to validate that input, handle errors, and send 4xx status codes if the issue is simply malformed input.

  • @davmarius4h
    @davmarius4h 2 года назад +6

    Very easy to understand! You really know how to teach! Great tutorial!

  • @W3r3-w0lf
    @W3r3-w0lf Год назад

    thanks Kyle you are the best !!! this was best explanation that I've ever had in server-side in web development

  • @bilalsheikh5394
    @bilalsheikh5394 4 года назад +7

    Very well explained. Thank you!

  • @mohamedtaha2025
    @mohamedtaha2025 Год назад

    i'm using sony wh1000-xm5 and i think u need to work on the auido , the video is good for sure

  • @theapothesus4401
    @theapothesus4401 3 года назад +1

    Like the calm and thorough explanation thanks!

  • @Smugify
    @Smugify 10 месяцев назад

    Thanks bro this was simple and easy to understand

  • @lineasdessertdiary
    @lineasdessertdiary 2 года назад

    You have the answers to all my questions. Thank you.

  • @JaiminDesai2612
    @JaiminDesai2612 2 года назад

    Thanks for such simple explanation and the reference URL too!

  • @vish1211
    @vish1211 2 года назад

    Amazinggggggggggggggg !! Just what I needed. Thank you !!

  • @nizamuddinshaikh3185
    @nizamuddinshaikh3185 5 лет назад +6

    By this time, I have seen your about ten videos on web development. They contain explanation simple to follow. Can you make a video on functional programming in JavaScript showing the basics and a few practicle examples? That will be of immense help to beginners. Thanks. 😃

    • @WebDevSimplified
      @WebDevSimplified  5 лет назад +3

      I have a video on pure functions in javascript which is part of functional programming.

    • @weichen2859
      @weichen2859 4 года назад

      @@WebDevSimplified 1

    • @weichen2859
      @weichen2859 4 года назад

      1

  • @hinafraz528
    @hinafraz528 2 года назад

    loved the video, saved tons of my time

  • @tymothylim6550
    @tymothylim6550 3 года назад +1

    Thank you very much for this video :) It was very helpful and clear for me! :)

  • @mehershewon9301
    @mehershewon9301 2 года назад

    Thank you so much very clear and fast

  • @malikshaik6662
    @malikshaik6662 5 лет назад +3

    But you forgot to explain about the 409 Conflit , Remaining explanation is awesome.

  • @erichepperlewp
    @erichepperlewp 2 года назад +1

    This is a great little overview of common HTTP status errors. Today I ran into a weird one that I've never seen when logging in with correct credentials to my personal website: #412Error It says this "Your request got filtered out due to possible security issues." Huh? I'm wondering if this is a new implementation of the 412 (apparently it can have multiple explanations about what precondition is referring to). Could this be an issue where some new standard was implemented recently for security? Would love to see a video on this!

  • @umairqamar2672
    @umairqamar2672 2 года назад

    you're the best man!

  • @denniresanchez5121
    @denniresanchez5121 3 года назад +1

    Thanks! good explanation.

  • @MontyKsycki
    @MontyKsycki 4 года назад +3

    Thank You Again for Sharing!!! :)

  • @blixerblacking4211
    @blixerblacking4211 2 года назад

    Thanks dude

  • @sebastianmedina5106
    @sebastianmedina5106 2 года назад

    thanks for the information

  • @danko95bgd
    @danko95bgd 5 лет назад +11

    I'm a teapot is all you need to know

  • @parvejsolkar123
    @parvejsolkar123 3 года назад

    Thank you for the complete list link ☺️

  • @johnmahugu3527
    @johnmahugu3527 4 месяца назад

    thank you so much for this

  • @sahidulislamjony5769
    @sahidulislamjony5769 2 года назад

    You are really great

  • @njw1233
    @njw1233 3 года назад

    Awesome explanation. Thanks!

  • @pranavwani
    @pranavwani 2 года назад

    Thank you

  • @usama57926
    @usama57926 4 года назад +3

    amazing video

  • @domi-covers
    @domi-covers 2 года назад

    thaanks) this video is reeeally useful...

  • @jackdrost9555
    @jackdrost9555 3 года назад

    Excellent explanation.

  • @SanjayKumar-un7xf
    @SanjayKumar-un7xf 2 года назад

    Thanks for sharing such a valuable content buddy :)

  • @EdeYOlorDSZs
    @EdeYOlorDSZs 2 года назад

    Very clear, thanks a lot

  • @dmytromoroz4451
    @dmytromoroz4451 3 года назад

    Thanks for great explanation!

  • @nataliasokolova2989
    @nataliasokolova2989 5 лет назад +2

    Thank you!

  • @ishumba
    @ishumba 4 года назад +1

    Good video. Well done.

  • @hardeepkainth8588
    @hardeepkainth8588 4 года назад +1

    Thanks

  • @BalloonSchool
    @BalloonSchool Год назад

    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?

  • @its_just_me_
    @its_just_me_ 5 лет назад +2

    Thank you K .. ❣️

  • @todd.mitchell
    @todd.mitchell Год назад

    420 Enhance Your Calm is a little hazy

  • @carlonnrivers
    @carlonnrivers 5 лет назад +3

    Really interesting, thank you for explaining it. You said on making rest APIs. I notice some kf those status codes are handled by express and nodejs already (500 when the database was down, but at least now I know what it means).
    So I don't have to make functions to send status codes and handle status codes when users navigate my site then? Is the simple check authentication enough to keep out those users, or should I send also a 403 forbidden instead of just redirecting them to the home page?

    • @WebDevSimplified
      @WebDevSimplified  5 лет назад +2

      You can redirect them to the home page and that should be sufficient

  • @ommapari
    @ommapari 2 года назад

    Enjoy Notes : 😀😀 Please Like it so that I will revise it again and again with new notification
    - 2xx
    The Request you made is Get request
    - 200 OK | success msg
    e.g Your get request is successful
    - 201 Created | Shows you created something
    e.g created item, created some resources
    - 204 No Content | no content to return
    e.g you deleted something but have nothing to return
    - 4xx
    Error from client/user side
    - 400 Bad Request | bad parameter sended
    e.g create new user so server want name & email but don’t send them email
    - 401 Unauthorized | I need a api key but you didn't send it or you need to be login for it | I don’t know who you are
    - 403 Forbidden | when basic user to access admin feature | I know who you are but cant access it so go away
    - 404 Not Found | you access part of info that does not exist
    5xx
    Error from server side
    500 Internel server error
    server broken or somenthing bad happened from server side

  • @agk4325
    @agk4325 2 года назад

    He's stares through your soul

  • @lancemarchetti8673
    @lancemarchetti8673 2 года назад

    Nice!

  • @raymondbyczko
    @raymondbyczko Год назад

    Good work!

  • @parasarora5869
    @parasarora5869 5 лет назад

    it's goooooood !!!... 👌👌 ... also thanks for the site

  • @Sivaprabu
    @Sivaprabu 4 года назад

    we can given custom http status codes like
    7,1000,15000,15010,519,1287,366,1442,1232,1233,17000 ?

  • @cristhiancantillo4922
    @cristhiancantillo4922 5 лет назад +2

    You're such an interesting youtuber... I think you don't have that muck skill of talking to the camera... but damn man! you explain everything so easy.... Keep on!

    • @WebDevSimplified
      @WebDevSimplified  5 лет назад +4

      Thanks. I am not a very high energy person so I am pretty monotone and boring when I speak, but I'm glad that doesn't bore you too much.

    • @cristhiancantillo4922
      @cristhiancantillo4922 5 лет назад

      @@WebDevSimplifiedAbsolutely no! You're one of the most usefull youtubers someone can find. Keep on man!

  • @ramadhanbridge97
    @ramadhanbridge97 5 лет назад +2

    Remember to use 405

  • @vaibhavpande5697
    @vaibhavpande5697 2 года назад

    I had one query, let's say we hit the URL and the server is down so we will get the 5xx error code, right ?
    So my question here is if the server is down when who is sending us(the client) that error code ?

  • @rcdmdedl7242
    @rcdmdedl7242 9 месяцев назад

    About status code of applications
    Browser is had HTTP status codes, however applications are not had Status codes in Japan. Why are not there? I want to know the reasons. I don't know whether the reason will be had by applications or OS not.

  • @gtmgtm8888
    @gtmgtm8888 5 лет назад

    Please make angular js tutorial

  • @Nitishkumar-dp6yk
    @Nitishkumar-dp6yk Год назад

    Your voice is same as the guy with channel "your daily dose of internet"

  • @shaghayeghbaghestani8771
    @shaghayeghbaghestani8771 2 года назад

    perfect :)

  • @____prajwal____
    @____prajwal____ 5 лет назад

    Can you please make a video that explains Angular entirely?

    • @WebDevSimplified
      @WebDevSimplified  5 лет назад +1

      I first need to learn angular and it is pretty low on my list of things to learn right now.

    • @____prajwal____
      @____prajwal____ 5 лет назад

      @@WebDevSimplified React would be fine too!

    • @WebDevSimplified
      @WebDevSimplified  5 лет назад +1

      @@____prajwal____ I actually have a full course on React coming out on Tuesday. If you want to be notified when it releases you can sign up for the email list here: courses.webdevsimplified.com/learn-react-today
      You will also get an exclusive discount if you sign up through the email list.

  • @augischadiegils.5109
    @augischadiegils.5109 2 года назад

    ❤️❤️❤️❤️

  • @romj56
    @romj56 4 года назад

    You never close your eyes

  • @RayfranRocha
    @RayfranRocha 4 года назад

    If I try to get some resource by id (ex. Product) and it isn't in the database. Do I have to return code 200 with a message 'Product not found' ? Or there is another code to respond properly to this case?

    • @soludev2001
      @soludev2001 4 года назад

      take a look on swagger example (on delete for example), I understood that in this case you have to return 404. The page is petstore.swagger.io/

  • @madhumitasarkar3272
    @madhumitasarkar3272 3 года назад +1

    will you ever blink

  • @stockacts6316
    @stockacts6316 3 года назад

    What is http/200 188 mean? I know the 200 is OK, but what is the trailing 188?

  • @spwn8603
    @spwn8603 2 года назад

    Hello! When i open an application, i get this error " unhandled http status code 0" do you how to fix this?

  • @GauravForReal
    @GauravForReal 3 года назад +1

    he dont even blink

  • @austin.valentine
    @austin.valentine Год назад

    Would you care to address the whole returning 200 with an error message debate?

  • @hariprasath03
    @hariprasath03 3 года назад

    How to solve error 506 varient also negotiates

  • @centerwing2101
    @centerwing2101 Год назад

    You look like Shubhman Gill

  • @A_Lesser_Man
    @A_Lesser_Man 5 лет назад

    is it better to use a 4xx status instead of 3xx status for invalid username/passwords? seems i should. what about 200 ok? why not that one? the request doesn't fail, it's not a server error, and nor is it a client error (the data sent may not succeed in a login, but the data isn't necessarily invalid), so for the moment, when users enter the wrong password, the site returns:
    status: 200 ok
    set-cookie: e=Access%20Denied; [....the rest here]
    location: /

    • @WebDevSimplified
      @WebDevSimplified  5 лет назад +1

      You should probably be returning a 403 status code since that means the users credentials are incorrect.

    • @DutchRatedGamers
      @DutchRatedGamers 5 лет назад

      It's best to be specific when designing REST API's or when you create a (web-)app which uses it due to it for one being easier to understand and for two it's somewhat easier implementable.
      Additionally, the webbrowser can do some more with it, which might be a nice side-effect.

  • @okekejohnson2878
    @okekejohnson2878 2 года назад

    He didn't blink

  • @atishkumarnirmalkar5057
    @atishkumarnirmalkar5057 2 года назад

    you missed 409

  • @sartaajsingh5861
    @sartaajsingh5861 3 года назад

    Oho

  • @fernandohood5542
    @fernandohood5542 2 года назад

    606?

  • @beecee4756
    @beecee4756 4 года назад +3

    Blink man blink!

  • @filcondrat
    @filcondrat 5 лет назад

    hands on 420

  • @ABHIJITMSAWANT
    @ABHIJITMSAWANT 2 года назад

    My apartment number is 404 and my postman never finds it

  • @azamatjumaniyazow5946
    @azamatjumaniyazow5946 Год назад

    Give me domain this status please bro 🙏 can I use for vpn

  • @mikeba3809
    @mikeba3809 7 месяцев назад

    418

  • @BoredBricks
    @BoredBricks 5 лет назад +1

    Is it ok for developers (especially junior ones) to copy both the code and design and template of a portfolio website tutorial as long as they understand all the code and tutorial? I’ve had people tell me that I can’t do that and you should 100% code and design your own site from scratch fully on your own.

    • @WebDevSimplified
      @WebDevSimplified  5 лет назад

      I think it is ok to take inspiration from another site but you should at least write out the code yourself even if it is very similar. It will really help with learning and understanding. Also your portfolio is supposed to be a showcase of your skills so if you copy someone else it doesn't really show your skills.

    • @BoredBricks
      @BoredBricks 5 лет назад

      Web Dev Simplified Right. I also don’t want to end up “re-inventing the wheel” either.

    • @WebDevSimplified
      @WebDevSimplified  5 лет назад

      @@BoredBricks re-inventing the wheel is ok to an extent when you are learning. It is a great way to learn.

    • @BoredBricks
      @BoredBricks 5 лет назад

      Web Dev Simplified Also right but I’m beyond that. I’ve gone beyond past HTML and CSS but I just don’t know how to design a good looking site from scratch on my own, that’s why I was asking you if it’s ok to copy a design or code from somewhere and change the content to my liking as long as I can still 100% understand and explain everything. I’ve also heard no one codes websites from scratch anymore either.

    • @WebDevSimplified
      @WebDevSimplified  5 лет назад

      @@BoredBricks Sites are almost always coded from scratch for a portfolio. You can copy a design if you want, but just copying all the code is most likely going to not work very well and lead to a site that is very hard to maintain.

  • @nested9301
    @nested9301 3 года назад

    500 error ah remind me of Facebook

  • @botobeni
    @botobeni 3 месяца назад

    why you didn't blink once 😭😭

  • @zamankhan1255
    @zamankhan1255 5 лет назад +2

    1st viewer

  • @Ash-td4sx
    @Ash-td4sx 3 года назад

    I strongly suggest you should consider blinking sometimes.

  • @alilasteve5340
    @alilasteve5340 3 года назад

    403: I know who you are but you cannot access this information. So go away!

  • @dsevil
    @dsevil 9 месяцев назад

    another payment related status code... 419 You Got Scammed ???

  • @raptorthefirst
    @raptorthefirst 5 лет назад

    x1.25 at the beginning

  • @chrisaga6253
    @chrisaga6253 3 года назад

    Damn, you are gorgeous.