What is an HTTP POST API? REST API Series,POST method, response codes, errors, best practices & more

Поделиться
HTML-код
  • Опубликовано: 2 окт 2024
  • Hello people,
    We are very glad to start the REST APIs made easy course with the very first video on fundamentals of REST APIs, HTTP Methods, taxonomy around REST APIs etc. We hope that you get some value out of this course and these concepts help you thrive in your jobs, interviews and help you become better software engineers every day. Here are few links that you might want to refer before or during the course:
    More on the topic:
    ✒developer.mozi...
    ✒github.com/mic...
    ------------------------------------------------------------------
    Recommendations
    ------------------------------------------------------------------
    Our full courses on youtube:
    ✒ System Design Primer Course: • System Design Primer C...
    ✒ REST APIs made easy: • REST APIs MADE EASY
    Some paid courses that we recommend:
    ✒Educative.io: bit.ly/3qnW5ku
    ✒Interviewready.io: get.interviewr... (Use coupon code SUDOCODE for extra discount)
    ------------------------------------------------------------------
    About Us
    ------------------------------------------------------------------
    Created and Instructed by:
    Yogita Sharma
    ✒ LinkedIn - / yogita-sharma-83400b55
    ✒ Instagram - / sudo.code1
    ✒ Facebook - / sudo.code
    ✒ Medium - / yogita088
    Post-production(editing, thumbnail etc) managed by:
    CiKi
    ✒ Website: www.ciki.co.in
    ✒ LinkedIn: / 74735937
    Colors and design by:
    Naini Todi
    ✒ LinkedIn - / nainitodi
    Both Arpit and Yogita are software engineers and want to help other software engineers become better by providing high quality and well researched content by adding their creativity and teaching twist.
    ------------------------------------------------------------------
    Join Us
    ------------------------------------------------------------------
    Hangout with sudoCode:
    ✒Discord Server: / discord
    For business:
    ✒Email: sudocode.yogita@gmail.com

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

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

    I think your teaching skills are next level. Please keep teaching the world.

  • @kakoiniksvoboden
    @kakoiniksvoboden 6 месяцев назад

    Yogita, you have a natural talent in explaining these topics. Thank you so much for sharing this knowledge, it is very helpful!

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

    Awesome content ...keep it up .....got lots of clarity on POST api

  • @sherlinvarughese6010
    @sherlinvarughese6010 3 года назад +19

    I found your channel after watching your Tiktok system design interview with Gaurav Sen. So happy I'm here! You're the first person to actually help me understand what REST API really means and how it works (trying to understand this through numerous other videos on YT has been an exercise in frustration and vain).
    Your content is very well structured and explained! Thank you so much for doing what you do!

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

      That's so nice to hear. Thanks a lot Sherlin.

  • @Rahul_RU
    @Rahul_RU 6 месяцев назад

    ❤Fantastic Explanations by the way...Hats off 🎉

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

    Thanks a ton for making REST API seem so easy to grasp, keep up the good work👍👍

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

    Really informative content, waiting for next video.

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

    "do not send a a query in a (HTTP) POST request"?? That is the foundation of GraphQL! Please clarify!

  • @paragkadam2169
    @paragkadam2169 2 года назад +4

    If she can openly announce her age then she can be trusted with anything :)

  • @AbhishekSharma-xe4cr
    @AbhishekSharma-xe4cr 3 года назад

    Thank You so Much. much needed.

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

    Thanks for making these videos about REST APIs. I am into testing the APIs. Your videos are helping me to understand the subject better. One question: After we invoke a REST APIs in a test, should we close it? And how to do that? It occurred to me that when I write a test script to automate a web application, I open a browser, run the test and at the end - close the browser. Should we follow the same process when I test a API?

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

      Not sure of this answer is still relevant for you. Rest api calls are over HTTP which are one time connection . The processing happen in the backend unlike the browser where there is a UI and needs to be closed.
      Tldr ;
      You don’t need to close an api while testing 😊

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

      @@shilpaaggarwal3837 Yes, it cleared my doubt. Thanks for your explanation.

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

    This is the exact information I seek for. You didn't get too deep and neither from scratch, this makes this video precise. Thanks for posting and keep it up

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

    Awesomeness

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

    nicely explained!

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

    How to prevent api from sniffing ?
    that is the main quest .
    any reply ? or any videos ?

  • @AjayGosavi-dk9ze
    @AjayGosavi-dk9ze Год назад +1

    make more videos on springboot..mam ur teaching style is superb

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

    Hello, good explanation!! Can you explain bit more about why not to use query parameters in the URI. Thank you in advance!

  • @amnahkhatun8401
    @amnahkhatun8401 2 года назад +2

    Love you videos. Explanation and representation is great!! Keep making videos and Thanks a lot ❤️!!

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

      Thank you! Will do!

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

    Hi ,
    Do you still help people on this topic, as this video on 2021. i have received a url, endpoint and token to post orders, i have php page and data from database, i am wondering how to push my data to create a order .

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

    Nice video . Please teach how to start coding for Rest Api

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

    Using rest api how to upload csv file into public api as well as how to download file from public api with help of rest api.

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

    Post requests also used to what type of operations can u give some examples?

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

    After a long struggle trying to understand REST APIs and not finding a a simplified tutorial, I finally got here. Thank you so much for making it enjoyable. Keep up the good work.

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

    Thanks for the great explanation. I'm wondering about the situation when you have to just trigger some kind of service which will do some db operation. Since this service doesn't actually need any payload, what are your thoughts on using the POST method for this. I know stackoverflow says it's okay to use POST but would like to if there's anything else that you'd rather do.

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

    can we post request directly from chrome browser??

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

    Thank you mam for sharing your valuable knowledge ❤

  • @NurseryRhymesAndStory
    @NurseryRhymesAndStory 5 месяцев назад

    first time i m seeing beauty with brain:)

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

    please upload next video asap

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

    Verification of email 4:29, shouldn't it be handle by the client side rather than sending it to server?

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

      Verfification should always be done both on the client side and server side. Its done on the client side to ensure a good user experience. We don’t want the user to have to wait until they get a server response before we show them a error. Its done on the server side to ensure data is stored correctly, possibly to prevent hacking, and to let the client know if it is failing in its responsibility to verify and why.

  • @the-abhishek-yadav
    @the-abhishek-yadav 3 года назад +2

    🔥🔥🔥

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

    Awesome video !!! POST request explained by you made it a lot easier ....

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

    Why do people use put over patch?

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

    Thank you very much

  • @nicole.michael
    @nicole.michael 7 месяцев назад

    I am following your API videos and they are concise, very comprehensive, and straight to the point. Thank you very much!

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

    This is an Interview question. . Can I use put method instead of post then what will happen?. Thank in advance

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

    Post a video on oauth 2.0

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

    Should it be 204 no content or 202 accepted at 3.48? If it should be 204, when do we use 202 vs 204?

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

    I have a suggestion for you. If you can make a video on handling concurrency in distributed system then it would be very helpful for others to learn from it. There is very little available on handling concurrency in distributed system.

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

    I have a question: do we have to face coding interview with experience level 18 years if someone is already working as architect. ? Or System design is good enough. Thoughts please.

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

      Depends on company but coding interviews are standard in a lot of cases.

  • @hakieye5649
    @hakieye5649 8 месяцев назад

    What can i say you are born to give your knowledge in understandable way. thanks a lot

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

    Thank you. Very nicely explained :)

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

    very clear explaination ....thanks

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

    This is the best resouce on this subject you could ask for.

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

    Can you cover the post api using Golang

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

      Can't commit. I am planning a complete hands on video in Java on REST APIs.

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

    very nicely explained

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

    Please make some videos on Docker.

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

    Explained very well, great video

  • @SunilSharma-mb2kf
    @SunilSharma-mb2kf 3 года назад

    2nd video of this playlist is missing. I think it was related to GET API please upload it.

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

      It was a mistake. GET video will be there next week. :)

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

    Your content is worth watching to learn, especially for NON-IT like me. It might be silly, but i have to ask... what is the basic tool that you use for this (eg at 1:40) can you give reference for that. That is, for eg., should i learn HTML and JS to fully understand the content.

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

      its called postman

  • @ShubhamKumar-bk5bx
    @ShubhamKumar-bk5bx 3 года назад

    Thanks a lot , simply explained 🙌

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

    Great and lucid video.
    One question.
    8:23 Creating a POST request without any body in payload would make any sense? How about requests where we are expecting 204 as an output, where we do not want to create anything but rather trigger an operation? Also any practical example of that?

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

      One example could be triggering a sync or backup for a particular entity where no data needs to be sent except the resource/entity ID and 204 can be the response.

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

    mam u are like god of api

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

    these are the topics i 'm expecting from your channel in future.. 1. DS & Algo 2. microservices 3. Kubernetes

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

    Thank you❤

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

    شكرا لك

  • @SunShine-ge3yj
    @SunShine-ge3yj Год назад

    Love your content 💗

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

    Good explanation

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

    Slack link is not working, Could you fix that?

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

      here you go: join.slack.com/t/sudocode-workspace/shared_invite/zt-t3nnzskg-JplO6uXCtomiACMYsnw1NA

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

    Hey awesome content, I am learning system design + watching your content. Its helping a lot to get concepts cleared. How about creating shorts or Instagram reels like content from these videos and share. It will be good recalling method.

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

      Brilliant idea 💡

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

    Excellent mam 👍 👌

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

    Is Video #2 in the series deleted?

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

      It's a mistake. will remove it. New video will be out next week.

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

    Awesome explanation, keep it up

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

      Thanks a lot 🙏

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

    Slack invite link got expired. 😔

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

      here you go: join.slack.com/t/sudocode-workspace/shared_invite/zt-t3nnzskg-JplO6uXCtomiACMYsnw1NA

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

      Again😭