How to use headers in REST APIs? Different types of headers, how and where to use?

Поділитися
Вставка
  • Опубліковано 23 лип 2024
  • Previous videos to catch up on:
    ✒What is an API - • Application Programmin...
    ✒REST Standards - • What is a REST API? | ...
    ✒What is REST API - • What is a REST API? Ba...
    ------------------------------------------------------------------
    Extra Readings
    ------------------------------------------------------------------
    developer.mozilla.org/en-US/d...
    developer.mozilla.org/en-US/d...
    ------------------------------------------------------------------
    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.interviewready.io/ (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
    #restapi #headers #sudocode

КОМЕНТАРІ • 124

  • @jaybijwe9371
    @jaybijwe9371 2 роки тому +27

    Trust me, ur content is crisp, clear n up to the point!
    No BS, straight explaination in a simpler way. Love it! ✨

  • @sanjayulsha6862
    @sanjayulsha6862 2 роки тому +3

    Binge watched the entire API series. Right now I'm working on pagination & async bulk upload APIs.
    These videos opened my eyes on how to design & write APIs, thanks and love from Swiggy, India.

  • @barbaracalderon4106
    @barbaracalderon4106 11 місяців тому +3

    I just watched the whole series. One of the best contents out there, worth every second. You have a gift! Thank you for sharing your knowledge.

  • @sahanabp8031
    @sahanabp8031 2 роки тому +1

    Short, crisp & clear explanation.. Thanks & keep them coming!

  • @YumT-vo3xc
    @YumT-vo3xc 5 місяців тому

    finished the entire series in around 3 hours...Good refresher.... Thursday late night well spent...Ton of notes.!!!

  • @darbenshitrit3589
    @darbenshitrit3589 2 роки тому +3

    You are amazing!! Thanks to you, I am finally starting to understand this subject. Please keep going and bring us more clear and well-explained videos regarding complex issues in js.

  • @vikashkumar994
    @vikashkumar994 2 роки тому

    This video is as informative and interesting as any other in this series, Thanks for that.

  • @mepolob
    @mepolob 2 роки тому +3

    Yes ma'am. I want detailed video about different headers. Thank you. 👍

  • @prameelabanda4726
    @prameelabanda4726 2 роки тому +1

    You are a great presenter and content deliver. The details are crisp and simple to understand complex problems so easily. I haven't found any women tech speakers like you. I have watched 80% of your videos :)
    Please post a video on custom header and REST API authentication/authorization.. ThankYou!!
    All The Best!!

  • @jeffshep100
    @jeffshep100 2 роки тому +8

    Good video - conscise and clear. I will look through your other videos as well. One video I would be interested in is the syntax for incorporating headers (in particular authorization headers including tokens) into an api request, whether using curl, VScode rest client, or Postman. actual examples would be useful. thanks

  • @alonso_50
    @alonso_50 2 роки тому

    Thank you very much for this course Yogita! I think a video about security in REST API would be great to understand better this huge topic. Many thanks again for all your effort.

  • @gabrielfono844
    @gabrielfono844 Рік тому +2

    as junior engineer with less than five months , I could tell you that you really made my day.
    I am very
    if you could make a video about authorization header in postman with token

  • @110NBB
    @110NBB 5 місяців тому

    Just awesome.Your way of delivering each concepts is amazing.I was very helpfull.Thanks alot!

  • @hareeshjp
    @hareeshjp Рік тому

    Thank you Yogita.... Its great help to IT community.

  • @ajinkyadande731
    @ajinkyadande731 2 роки тому +31

    Hey, Looking forward to the video on eTag. I think eTag plays a very important role in API dev and you must cover it soon.

  • @stevefox7469
    @stevefox7469 Рік тому

    Great video, just what I wanted.

  • @KDTechverse
    @KDTechverse 2 місяці тому

    Great video ! 🙌

  • @theSDE2
    @theSDE2 2 роки тому +2

    Please make a series on Oauth as well. Your way of explanation is superb. thanks

  • @nmirallegro
    @nmirallegro Рік тому

    Great video, thank you!

  • @elielberra2867
    @elielberra2867 2 роки тому +1

    Amazing explanation thanks!

  • @mentorbook3265
    @mentorbook3265 2 роки тому +3

    Nice series, thank you! I would really like you to explain authorization headers

  • @abrahamflores8345
    @abrahamflores8345 Рік тому

    Really Helpful

  • @harindersingh-jc7ur
    @harindersingh-jc7ur 8 місяців тому

    amazing stuff .. Thank you so much for clear explanation

  • @mryash5068
    @mryash5068 Рік тому

    Cool... Got the info exactly what I was expecting...

  • @nandanhj7053
    @nandanhj7053 2 роки тому +1

    Thanks 👍 and pls do more videos on Rest. Helpful 🤠

  • @kosnowman
    @kosnowman Рік тому

    very very clear, thank you!

  • @tejalpatil4899
    @tejalpatil4899 2 роки тому

    Thank you..It's very helpful to me.

  • @krishnachaitanya4822
    @krishnachaitanya4822 10 місяців тому

    Amazing explanation!

  • @delightful730
    @delightful730 2 роки тому +1

    need more on api and api security plz. and love you for your best tutorial... ❤❤❤❤

  • @hmsolaiman1999
    @hmsolaiman1999 Рік тому

    Excellent explanation !

  • @subinkv6849
    @subinkv6849 Рік тому

    Thank you Yogita ma'am for your great explanations🥰.

  • @OptimesssPrime
    @OptimesssPrime Рік тому

    V well explained. Thank you.

  • @amitgoyal8448
    @amitgoyal8448 Рік тому

    Great Content

  • @sraynitjsr
    @sraynitjsr 2 роки тому

    Thanks Ma'am, Loved it....

  • @pavankumargdeshpande9956
    @pavankumargdeshpande9956 Рік тому

    Great teaching ma'am. Thank you so much for the wonderful videos :)

  • @Mustak_Ahmad_1996
    @Mustak_Ahmad_1996 5 місяців тому

    Excellent 👌

  • @sebnembayezit969
    @sebnembayezit969 2 роки тому

    Thank you so much for explanation.

  • @Vijay-Yarramsetty
    @Vijay-Yarramsetty 2 роки тому

    some teachers are just spot on..

  • @prash11leo
    @prash11leo 2 роки тому +1

    Are content length and range (in response headers) the fields used to indicate limit and offset for paginated responses?

  • @shashankas2
    @shashankas2 2 роки тому +2

    Hello Ma'am, Thank you for the information and knowledge you are sharing. Requesting you to plan cover Authorisation headers in detail in future

  • @Proman.Offbeat.Traveller
    @Proman.Offbeat.Traveller 9 місяців тому

    Good information ❤ thanks for sharing this

  • @subee128
    @subee128 Місяць тому

    Thank you very much

  • @mohamedbelal6820
    @mohamedbelal6820 2 роки тому

    you are great , Thanks !

  • @abrarzahid55
    @abrarzahid55 2 роки тому +1

    thank you for making this video, please make a video about ETag as well.

  • @ThaCoders
    @ThaCoders Рік тому

    Nice explanation mam great job ❤❤❤❤

  • @raghavenderkuppireddy7158
    @raghavenderkuppireddy7158 Місяць тому

    Thank you 🎉

  • @prashantmorade4190
    @prashantmorade4190 2 роки тому

    nicely explained

  • @mohammedjunaidshaikh2415
    @mohammedjunaidshaikh2415 Рік тому

    Thanks👍

  • @gabrielrochasantana
    @gabrielrochasantana Рік тому

    Beautiful explanation. 😁

  • @kaz00ie
    @kaz00ie 2 роки тому

    Thank you for your video! I have a redirection issue which has a cookie expired. In the response header shows 4 different types of set-cookie. Is this come from the server or client?

  • @baap6382
    @baap6382 2 роки тому +1

    Great video ma'am

  • @bristihazrawbcsexe.5568
    @bristihazrawbcsexe.5568 2 роки тому

    The Video is treat to the eyes. Great teaching and presentation ☺

  • @surajmauryaeducationcentre
    @surajmauryaeducationcentre 2 роки тому +1

    excellent

  • @JailadinShaik8897
    @JailadinShaik8897 9 місяців тому

    Nice series, i'm expecting a video on authorization headers and security .

  • @surya219
    @surya219 2 роки тому +1

    Please do more videos on this topic

  • @backlogbatch
    @backlogbatch 2 роки тому

    Thank you❤

  • @rohitaich4257
    @rohitaich4257 2 роки тому

    You are best 🎉🎉🎉

  • @subhamthemusicalguy8851
    @subhamthemusicalguy8851 Рік тому

    Great video.Please talk more on authorization and authentication in api

  • @jakubfrei3757
    @jakubfrei3757 Рік тому

    Nice and helpful woman:) Thx

  • @ChandraShekhar-by3cd
    @ChandraShekhar-by3cd 2 роки тому +2

    @sudoCode Thanks lot for such informative video. Its been quite long that no any full video on system design has been released in this channel. I think we had one poll as well where most of us suggested to have that full system design video. Could you please let us know by when we can expect those as well.?? Thanks a lot !! We are all eagerly waiting for those full system design videos which will definitely help all of us to perform good in the real FANG system design rounds. Thanks

    • @sudocode
      @sudocode  2 роки тому +3

      We are planning for a full system design video. I can't promise a timeline. Quality >>>>> Quantity

  • @mrOverdue
    @mrOverdue Рік тому

    Nice

  • @mainuddinali9561
    @mainuddinali9561 7 місяців тому

    great

  • @bhatnagarcapital
    @bhatnagarcapital 2 роки тому

    thank you didi

  • @kishorekumarmalla
    @kishorekumarmalla 2 роки тому

    Why I am addicted to your videos 😊, Awesome presentation and explanation

  • @prateek2159
    @prateek2159 Рік тому

    You didn’t make a video on Uniform User Interface (HATEOAS) in this REST API Series. Please make that one video. This is the most detailed rest api playlist I have seen so far on yt and this one video will put up even more stars to it. Thank you

  • @hariramreddy9019
    @hariramreddy9019 2 роки тому

    Hello Can i know where should id use the header in javascript for using api to bypass cors error. Can i know what is origin that we should use in the header to allow me to fetch data

  • @basawarajshivashetty5232
    @basawarajshivashetty5232 2 роки тому

    This is a cool series👍👍 may I request you to please provide some working samples that implement rest APIs get post delete put..please share any links

  • @muhammadshahjahan1054
    @muhammadshahjahan1054 2 роки тому

    very informative video as always
    Can you please make a video about ebay APIs how they can be used to make commercial solutions for Sellers or maybe for buyers I mean some Saas ideas or anything if we can have a video that would be great
    thansk

  • @vpkori
    @vpkori Рік тому

    Great Video, can you make video on Params, Different types of Authorization, Converting API Document to Postman Collections.Thanks

  • @syslin23
    @syslin23 2 роки тому

    nice video !! Could you make video about authorization.

  • @vishalvishwakarma7196
    @vishalvishwakarma7196 2 роки тому +2

    You are doing a great work,thanks for you videos.
    I wonder can we have more than one http method annotated to an api (not of same type).

    • @sudocode
      @sudocode  2 роки тому +1

      Yes same path can be used in PUT and PATCH depending on use case.

  • @arnabmandal7753
    @arnabmandal7753 2 роки тому

    Hi Yogita, can you please make a video on curl

  • @jayantkumar4257
    @jayantkumar4257 11 днів тому

    Please give detailed video on rate limiting & headers

  • @tapanpande4978
    @tapanpande4978 2 роки тому +2

    Can you please cover authorisation headers.?

  • @niranjannt637
    @niranjannt637 11 місяців тому

    What software is used to create these type of videos? They are amazing !!

  • @kumarshashank3954
    @kumarshashank3954 2 роки тому +1

    please make a video on etag. Its a bit tricky concept to understand

  • @KrishnaManohar8021
    @KrishnaManohar8021 2 місяці тому

    response header and response body both are same?

  • @nileshmonde4707
    @nileshmonde4707 Рік тому

    How to avoid VAPT points raised in api like host header injection

  • @hmh7028
    @hmh7028 Рік тому

    Why you left the series in middle?
    Why rate limiting implementation videos are not covered till now and also etag and Authorization header videos?
    Please I request you to cover those ASAP as the analogy and examples you use are used to stick to my mind forever,Thanks 🙏

  • @tarunaggarwal1063
    @tarunaggarwal1063 2 роки тому +4

    Hey, please make video on eTag :)

  • @manishagarwal6134
    @manishagarwal6134 2 роки тому

    hey Yogita ..really good stuff..thanks..can i request for a video on http request using certificate

  • @sanasingh7714
    @sanasingh7714 Рік тому

    plzzzzz make a video on etag,x-request digest,concurrency & odata verbose

  • @shamsurrehman4081
    @shamsurrehman4081 Рік тому

    how to calculate content-length in representation headers

  • @TusharBorawake
    @TusharBorawake 7 місяців тому

    Pls make video on E-tag , if-none-match, pragma, x-xss-protection, x-total-count, x-result-count

  • @shaheensiddiqui-5432
    @shaheensiddiqui-5432 7 місяців тому

    Mam make a video on Authorisation header

  • @ayushgarg5929
    @ayushgarg5929 2 роки тому

    please make a playlist on gRPC api too

  • @Uzair_Anwar2299
    @Uzair_Anwar2299 Рік тому

    Please make an video about etag

  • @alexandrtcacenco8129
    @alexandrtcacenco8129 Рік тому

    I have learned from this video that there are different type of headers. But how do I populate header with key:value pair? Is this something frontend developer should do?

  • @CollinBollinger-i8q
    @CollinBollinger-i8q 20 днів тому

    I would like to know more about Etags

  • @naveens5809
    @naveens5809 2 роки тому +1

    Explain Etag and other important headers.

  • @kalyanchakravarthy8200
    @kalyanchakravarthy8200 4 місяці тому

    i need a video on authorization header

  • @raghavsharma4195
    @raghavsharma4195 2 роки тому +2

    Need authorization and authentication in apis

  • @pavanpabolu
    @pavanpabolu 10 місяців тому

    Explain about the ETag or share the link.

  • @chetanshukla5851
    @chetanshukla5851 2 роки тому

    Mam payload header is explained in the video can you explain it

  • @aniketbari3215
    @aniketbari3215 11 місяців тому

    Hi Mam,
    Good Evening I have a question about how we can create rest api from scratch please make a video on this.

  • @ismailhossain964
    @ismailhossain964 Рік тому

    I have added
    "apiKey" : "1234567"
    In headers.
    When i test from postman it works.
    When i test from my app it gives error: unverified array key "apiKey"

  • @srilakshmidande6767
    @srilakshmidande6767 2 роки тому

    Can anyone explain me how actually we can send headers in rest api ? I mean when I send a request it can take my name and that i can see in my request???

  • @abhishekchaurasia1624
    @abhishekchaurasia1624 8 місяців тому

    AI video bahut real lg rahi

  • @SantoshKumar-bm2iz
    @SantoshKumar-bm2iz Рік тому

    Please explain representation headers mam in seperate video

  • @virkumardevtale9671
    @virkumardevtale9671 Рік тому

    Authorization heders example requied video plz