APIs | REST | REST APIs Demystified

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 พ.ย. 2024

ความคิดเห็น • 176

  • @TheTechCave
    @TheTechCave  2 ปีที่แล้ว +1

    Thank you for watching! I hope you enjoyed the content! 😊 Support the Techcave to produce more content! ko-fi.com/thetechcave

    • @oussamaelarrouji4780
      @oussamaelarrouji4780 2 ปีที่แล้ว +1

      I guess you are a Moroccan judging from the accent, I am really proud to see someone from my country posting this quality content, keep up.

  • @danchisholm1
    @danchisholm1 6 ปีที่แล้ว +170

    Your tutorials are amazing, and particularly for 2 reasons:
    1. you get right into the info, and don't put fluff in the vids
    2. your discussions are very clear and well organized
    Thanks!

    • @luisavila8421
      @luisavila8421 5 ปีที่แล้ว +1

      I was going to said the same but some just did it lol Thank you for making this videos and sharing you have a lot of Really Good Content in Your TH-cam Channel. I Would love to see more videos from you in the future.

  • @ihspan6892
    @ihspan6892 5 ปีที่แล้ว +12

    Thank you. You could also say that API is a counterpart of UI. While UI is for humans to interact with software, API is what allows software to communicate with another piece of software. UI has buttons, windows, mouse etc., API is a set of defined methods and parameters that one computer program can pass to a another piece of software, and as a response receive some data that it will then be able to use.

    • @bikushah9958
      @bikushah9958 3 ปีที่แล้ว +1

      Wow.probabaly the best definiton of API

    • @nhayford
      @nhayford 2 ปีที่แล้ว

      Nicely explained!

  • @Myfriendmrlack
    @Myfriendmrlack 2 ปีที่แล้ว +6

    This amazing. I've gotten so sick of googling things like API and reading plain English things like, "API is a way to communicate between applications" or something too complicated to understand. This video is perfect for those who understand an intermediate amount of knowledge without industry experience.

  • @jayreaction
    @jayreaction 2 ปีที่แล้ว +1

    5 years after. Still valuable thanks f the detailed explanation and seriousness in this tutorial.

  • @sundargautamofficial
    @sundargautamofficial 3 ปีที่แล้ว +5

    I can't explain in words how perfect and layman your explanation was. I am so blessed to have people like you who are contributing to the IT community by sharing immense knowledge. I just typed what is API vs REST and youtube just blessed me with this video. Now I am so confident to explain about API and REST API if someone asked me to. Thank you and much respect. Planning to watch the entire web basics concept playlist of yours.

    • @TheTechCave
      @TheTechCave  3 ปีที่แล้ว +2

      I appreciate your kind words! I'm really happy you find it helpful! 😄

  • @lightyearahead
    @lightyearahead 3 ปีที่แล้ว +6

    This should be global definition of APIs and web services. Very well explained!

  • @rajarshisadhya8174
    @rajarshisadhya8174 6 ปีที่แล้ว +34

    This is the best explanation of REST API I have seen so far in YT, thanks for sharing

  • @RiadoKunsoh
    @RiadoKunsoh 2 ปีที่แล้ว +1

    Hands down this is the best content about the subject on TH-cam.

  • @yujiyamamoto6551
    @yujiyamamoto6551 4 ปีที่แล้ว +3

    Best Rest explanation ever. I'm starting learning Java and its frameworks and there a lot of job announces requiring Rest. Still trying to learning more about webservices, SOAP x REST, XML x JSON, and so on. This video helps me a lot. The examples makes your videos very special! Keep doing. Many thanks.

  • @abie3723
    @abie3723 3 ปีที่แล้ว +1

    This is one of the best explanations I've ever watched on TH-cam. It's clear, on point and organised.

  • @nachomarquez7541
    @nachomarquez7541 5 ปีที่แล้ว +15

    Amazing explanation! So structured, clear and focused on the subject.
    Thanks a million!

  • @TebogoMotlhale
    @TebogoMotlhale 5 ปีที่แล้ว +4

    an application programming interface (API) is an endpoint which encapsulates but exposes the state and functionality of an object, imagine it as a description written on the OUTSIDE of a closed door, which tells you what you can expect to find if you were to OPEN the door and look inside the room, but you are NOT supposed to open the door and look at the things INSIDE the room !! you are expected to "trust" that the description that is written for you on the OUTSIDE of this closed door tells you EVERYTHING you need to KNOW in order to make full USE of ALL the "hidden things/contents" that are wrapped/encapsulated INSIDE the room, you are expected to {be able to} use ALL the features of the room and its contents by just studying {looking at} the description that's written OUTSIDE of the closed door
    for example, if object1 has two fields
    field1_name;
    field2_age;
    and four methods (member functions)
    method1_assign_name()
    method2_assign_age()
    method3_get_name()
    method4_get_age()
    you can USE the state (change how it looks) of object1 as
    object1.field1_name = New_Value ;
    object1.field2_age = New_Value ;
    and the functionality (the things that object1 can do or that can be done with it) as
    object1.method1_assign_name( Argument_1, Argument_2, Argument_x ) ;
    object1.method2_assign_age( Argument_1 ) ;
    object1.method3_get_name() ;
    object1.method4_get_age() ;
    so all these six things above, when we combine them, we can list them as follows
    object1.field1_name
    object1.field2_age
    object1.method1_assign_name()
    object1.method2_assign_age()
    object1.method3_get_name()
    object1.method4_get_age()
    now this ^^ COMPLETE list of items (ALL the members of object1 which in fact are ALL the features of object1) that you see above "describes" the API of object1
    in addition, for the functionality part of the API (the methods - the things that object1 can do or that can be done with object1), it is usually important to know what these methods RETURN (bring back) when you call/invoke them to make them PERFORM their intended work/action, so instead of describing the methods in a lazy way as shown above, a more proper way of describing the methods of an API is as follows :
    int object1.method1_assign_name()
    String object1.method2_assign_age()
    long object1.method3_get_name()
    Boolean object1.method4_get_age()
    so the proper/full API for object1 is now as shown below
    object1.field1_name
    object1.field2_age
    int object1.method1_assign_name()
    String object1.method2_assign_age()
    long object1.method3_get_name()
    Boolean object1.method4_get_age()
    and even the fields (which describe the state) of object1 should ideally be PROPERLY described in the API by showing what type of values (data types) they can accept, as follows
    String object1.field1_name
    int object1.field2_age
    so the FINAL/full proper API for object1 now is :
    String object1.field1_name
    int object1.field2_age
    int object1.method1_assign_name()
    String object1.method2_assign_age()
    long object1.method3_get_name()
    Boolean object1.method4_get_age()
    An API "library" on the other hand is a collection/group of APIs, whereby each single API in the library describes how you use the features of a single object {within that library}, such that with an API library of 35 objects, you will have 35 APIs for each object, whereby API number 18 within these 35 APIs describes how you use ALL the features of object18 as an encapsulated object since it (object18) exposes its state and functionality through the description written in its API, the API of object18 gives you a full description of "how to make use of" object18
    Regards
    Tebogo M. Motlhale

    • @rx25251
      @rx25251 8 หลายเดือนก่อน

      Nice!

  • @juliaalonzo5998
    @juliaalonzo5998 4 ปีที่แล้ว

    thank you very much. This is great video, I tend to become bored and irritated with some videos that has too much fluff and when they over complicate tutorial by using big words, but yours is great and direct to the point.

  • @florianfriedrich1618
    @florianfriedrich1618 3 ปีที่แล้ว

    you are such a gifted provider of overview, simple & to-the-point explanations of unknown, complicated topics. Thank you

  • @MelomaniacInUBTraffic
    @MelomaniacInUBTraffic 5 ปีที่แล้ว +3

    First of all thank you so much for your effort to make all of your videos so informative and well structured yet possibly the most simple. I'm a medical doctor. But for the project that I'm working on, I really need to understand what these rest api, uri, resource, web etc. With the help of your video, I'm opening my eyes a little by little into the IT world. I will be very grateful if you can make a video generally about coding for non-experts like me. But I have to say that your videos are so simple that even ordinary people like me can digest the information on them. I may be asking too general or dumb question, because of my lack of knowledge about IT world. But even only a explanation of code structure, slash, coma, basic principles, basic programs, little bit of history, Everything will be highly appreciated. Thank you so much again and please keep up this good work.

  • @markhache6756
    @markhache6756 3 ปีที่แล้ว

    I have a database for managing my hobby (my first database). I'm now building a web application as an interface to the database (my first web development). v1 of the web application works but it isn't pretty. My db tables are getting rather large/long. Now working on v2 and want to include "pagination". This let to Javascript's Fetch() API which lead to REST APIs and that to RESTful web services. SPAGEHETTI!!! I don't need someone to explain how to code an API, I need someone to explain the concepts. BUDDY, YOU NAILED IT! Halfway through your video I clicked SUBSCRIBE. Job well done. Now I'm off to learn the REST rules and will then will ensure my web application, which I admit is only for my own use, will be a RESTful web application.

  • @bikushah9958
    @bikushah9958 3 ปีที่แล้ว

    """Anything that lets software components talk and communicate with each other is API and API can be in anyform ; its implementation and what it consist doesn't matter""

  • @farlight6044
    @farlight6044 4 ปีที่แล้ว +5

    Finding this channel is like finding a diamond

  • @futgaming17
    @futgaming17 3 ปีที่แล้ว

    Never had a better breakdown of REST and RESTful services than this... Nice work

  • @anish3854
    @anish3854 3 ปีที่แล้ว

    It's 2021 and still, your's is the best explanation I found so, thank you for that!!

    • @TheTechCave
      @TheTechCave  3 ปีที่แล้ว

      Thank you for your kind comment!

  • @amossymindset
    @amossymindset 2 ปีที่แล้ว

    This was the best explanation - thank you SO MUCH for including the client-side code. That's where I get confused and you made it so clear. Thank you!!

  • @toskr-r4t
    @toskr-r4t 2 ปีที่แล้ว

    This is the best explanation of the RESTful API that I have ever seen. Thanks :)

  • @The-Athenian
    @The-Athenian 4 ปีที่แล้ว

    FINALLY someone who can put it simple and clear. Thank you!

  • @shyammakwana3770
    @shyammakwana3770 3 ปีที่แล้ว

    The best explanation of REST API on YT till now !!

  • @nazebanu7790
    @nazebanu7790 3 ปีที่แล้ว

    Really helpful for beginners to learn about API & REST api,..even non developer can understand your explanation,..simple and on point!!Great Work!!

  • @dieguitorey
    @dieguitorey 3 ปีที่แล้ว

    Amazing, after this explanation I feel confident enough to start digging deeper into the topic. Thanks

  • @jesusgonzalez7059
    @jesusgonzalez7059 3 ปีที่แล้ว

    very informative with sample applications and illustrations. Thank you and we look forward to more of your work. You've got a new subscriber! :)

  • @RealpageBRees
    @RealpageBRees 4 ปีที่แล้ว +2

    Excellent overview! Short, concise, and easy to understand. I look forward to reading your dissertation. Thank you for sharing

  • @XDTuber
    @XDTuber 5 ปีที่แล้ว +2

    Your tutorials are the best I have ever seen! Easy to understand and best of all you show some javascript code at the end

  • @rpslobo
    @rpslobo 3 ปีที่แล้ว

    Thanks for the great videos! I was just looking for a simple HTTP explanation annd came across the first video on the playlist, and ended up watching the whole thing. Really helped me!

  • @aizalakindanum4333
    @aizalakindanum4333 4 ปีที่แล้ว +1

    Kudos to the one who made this video. It's very easy to understand. I have subscribed to your channel. Thank you so much for sharing.

  • @yuliusseraph4973
    @yuliusseraph4973 2 ปีที่แล้ว

    The best video on REST by far.

  • @hasanm.hallak1113
    @hasanm.hallak1113 3 ปีที่แล้ว

    this is the best explanation that I could find! thank you sir.

  • @alphamineron
    @alphamineron 5 ปีที่แล้ว +3

    Amazing Explanation! This was properly paced and extremely Beginner friendly.
    Loved the OOP example that you used in the beginning.
    Usually people break these videos off into multiple videos, that leads to a lot of confusion and procrastination.... all the important basics in one video was really helpful!

  • @sachintripathi5742
    @sachintripathi5742 3 ปีที่แล้ว

    one of the best explanation of REST. Loved it. Thanks for sharing.

  • @ivoavido1
    @ivoavido1 3 ปีที่แล้ว

    FInally a really clear and on point explanation. Thank you for uploading this!

  • @samiaghezal
    @samiaghezal 4 ปีที่แล้ว +4

    Amazingly explained!
    Thank you very much for taking the time to explain this so beautifully, I subscribed, and intend to cover as much as possible from your channel.
    Your explanation flows straight to my brain, and ... Wow!
    I'm like super new into software, only know fundamentals of programing, and feel this is attracting my attention to what I would actually prefer to do in the context of CS.
    Again, thanks!

  • @darklord-mt3yr
    @darklord-mt3yr 2 ปีที่แล้ว

    best video among all the videos present here on TH-cam. great!

  • @wemode2998
    @wemode2998 4 ปีที่แล้ว +1

    Great video, eager to keeo learning from your explanations.
    As a side note, for me, i would have preferred the topic of what it is first, before of, what felt to me, was taking the viewer through the mess of misconceptions first

  • @Anonymous-vh6kp
    @Anonymous-vh6kp 5 ปีที่แล้ว +1

    Thanks for clearing up a few things. I’ve been using and making restful web services for a while now and always wondered if there were any differences between the terminologies expressed.

  • @lillihermoni2871
    @lillihermoni2871 4 ปีที่แล้ว +1

    This is so on point! You present the content in a clear and easy comprehensible way! Really great work!

  • @saharheidarpour6550
    @saharheidarpour6550 2 ปีที่แล้ว

    Amazing!
    clear ,easy and direct explanation

  • @stefanogattoCH
    @stefanogattoCH 4 ปีที่แล้ว

    Great video, concise and to the point! I did not understand that much the code at 13:20, but it motivated me to get to know more about all this stuff anyway. Thank you a lot!

    • @TheTechCave
      @TheTechCave  4 ปีที่แล้ว +1

      Thanks for your feedback, Steffano. That was just a super simple express(node library) api server. Just to demonstrate how REST APIs look like. Of course, things are more advanced for real world software.

  •  5 ปีที่แล้ว +2

    Hi, I liked your video very much because in fact it clarified some interesting details to me, such as how we should use verbs and data and why, but I noticed a couple of errors in the implementation you're using to demonstrate them, not horrible ones but they could be fixed so users can write the code from your video and make it work.
    The first one I spotted was a trivial one and it is the spelling of the url, it says seviceProviderApp.com instead of serviceProviderApp.com. I know that's not important for the example but detail are important to me.
    The second and most important one is that you're using "/user" for the uri on the server piece of code and "/api/user" on the client, so they can't communicate that way. That applies also to /user/add which is /api/user/add on the client side.
    I hope this helps
    I think your work is great by the way.
    Thanks for your work of putting this great information together.

  • @adaontheblock4274
    @adaontheblock4274 3 ปีที่แล้ว

    Thank you very much for your videos, they all are really very good! From Argentina 🇦🇷

  • @shivangchaturvedi237
    @shivangchaturvedi237 3 ปีที่แล้ว +1

    One question: What if a developer doesn't follow the REST rules? What different will it really make on the implementation of an web application? Any thoughts?

  • @AnnabelleAnny
    @AnnabelleAnny 4 ปีที่แล้ว +2

    short and detailed information, well done

  • @reynaldoruizflores
    @reynaldoruizflores 2 ปีที่แล้ว

    I started with this video but I going to see all the series. Thanks. Maybe a video of what happens when you close or cancel in the browser the page? A question in one of my interviews. The language of the page affects? Thanks again.

  • @JHatLpool
    @JHatLpool 4 ปีที่แล้ว

    Thanks. A great lesson. It is important to have key terms both defined and explained.

  • @Julikimilia
    @Julikimilia 2 ปีที่แล้ว

    Best explanation ever! Thank you!!!

  • @pedro.raimundo
    @pedro.raimundo 5 ปีที่แล้ว +4

    Kudos from Poland for the awesome videos. I've been through most of them, and they are really helpful! Also, you sound very academic, which makes it even better :)

  • @samgeorge3817
    @samgeorge3817 5 ปีที่แล้ว +5

    Good introduction to the REST API world. Thanks so much for putting it in :)

  • @crabbypinchy
    @crabbypinchy 4 ปีที่แล้ว

    I'm a tech writer, what parts of the "what you should know" do you think you'd like for me to know if I needed to do API documentation? This is a great tutorial, btw

  • @rakeshgpt15
    @rakeshgpt15 6 ปีที่แล้ว +5

    Thank you very much. You have cleared my biggest doubt: "Why to use different methods if I can perform anything using one method like get or post?"

    • @K20TypeR
      @K20TypeR 6 ปีที่แล้ว

      Exactly - but now we know it complies with REST standards using the appropriate meaningful HTTP verbs

  • @lorenz_codes
    @lorenz_codes 3 ปีที่แล้ว

    That was such a great explanation! Thank you :)

  • @vi-9462
    @vi-9462 4 ปีที่แล้ว

    You are amazing!! Please make a video on 'REST vs SOAP'. Thank you!! And all the Best!!!🎈

  • @Chrono28x
    @Chrono28x 5 ปีที่แล้ว +3

    Nice! - very succinct, keep up the good work!

  • @shivangchaturvedi237
    @shivangchaturvedi237 3 ปีที่แล้ว

    I have only watched it for 10mins and dude, I am impressed. I haven't read one article neither watched any other video which explains this topic the way you have explained in this video. You made it so simple to understand. Thank you my friend :). By the way, is that a Russian accent? I like that too.

  • @ashrafk6987
    @ashrafk6987 2 ปีที่แล้ว

    Do you have an video on the advanced topic of stateless communication?

  • @acho8387
    @acho8387 5 ปีที่แล้ว +2

    mate, love your explanation vids! Just the clean style I was looking for.

  • @marvinmonteagudo7674
    @marvinmonteagudo7674 4 ปีที่แล้ว

    I love your explanation! Much respect...

  • @phaphamaninonyusa2840
    @phaphamaninonyusa2840 5 ปีที่แล้ว +4

    Good explanation REST App thank you

  • @loulinaz3770
    @loulinaz3770 3 ปีที่แล้ว

    I like the ecplanatiin and fact you talk fast, which is not boring.. l bet you are moroccan :)

  • @Sso1337
    @Sso1337 3 ปีที่แล้ว

    very good presentation, well explained.keep going broooo

  • @erfelipe
    @erfelipe 3 ปีที่แล้ว +1

    Thanks for this class.

  • @sriramkrishnaswamy5595
    @sriramkrishnaswamy5595 ปีที่แล้ว

    This was great! thank you so much!

  • @geadwi
    @geadwi 4 ปีที่แล้ว

    Very good explanation, thanks a lot.

  • @ericdoingaiagain
    @ericdoingaiagain 5 ปีที่แล้ว +1

    Thanks for demystifying...would love to see more!

  • @amitlpawar
    @amitlpawar 4 ปีที่แล้ว

    Very good explaination....Thanks :-)

  • @imranekhalid2562
    @imranekhalid2562 3 ปีที่แล้ว

    Excellent presentation!

  • @banksdada501
    @banksdada501 5 ปีที่แล้ว +1

    nice and simply stated. thanks for this

  • @nancydaksh
    @nancydaksh 2 ปีที่แล้ว

    Well explained. Thanks man.

  • @wilsun007
    @wilsun007 7 ปีที่แล้ว +6

    Thank you so much. Would love to see more videos from you

  • @abdulrahmansalem6026
    @abdulrahmansalem6026 3 ปีที่แล้ว

    Your videos are amazing , Thank you ♥

  • @riadbereksi6559
    @riadbereksi6559 5 ปีที่แล้ว +2

    Great explanation ! Thank you

  • @heshamhanafy28
    @heshamhanafy28 4 ปีที่แล้ว +1

    Thanks alot for this amazing session.
    Could you give a presentation for python implementation of API?

  • @SrdjanStrbanovicHome
    @SrdjanStrbanovicHome 3 ปีที่แล้ว

    Great overview!
    But, after explaining, early on, that using additional verbs in the URL is redundant, you use 'add' in the example: POST /users/add :(

  • @OlushiyanIbukunoluwa
    @OlushiyanIbukunoluwa 5 ปีที่แล้ว

    Apt video about REST APIs
    What would have made more sense is to add imperatives / advantages of Why adopt the REST protocol
    But I give this a five star all the same!

  • @eliseogarcia1024
    @eliseogarcia1024 4 ปีที่แล้ว +2

    Nice work, upgrade my school courses.

  • @funkmaster322
    @funkmaster322 3 ปีที่แล้ว

    tbarkellah 3lik khoya

  • @charleswagon4232
    @charleswagon4232 5 ปีที่แล้ว +2

    Great presentation. Thank you.

  • @ArisKaratarakis
    @ArisKaratarakis 5 ปีที่แล้ว +2

    This is a great explanation 👏

  • @franco-cespi
    @franco-cespi 4 ปีที่แล้ว

    Great material!

  • @dv4738
    @dv4738 4 ปีที่แล้ว

    Very nice videos, pls make more videos on web

  • @preetsoni5138
    @preetsoni5138 4 ปีที่แล้ว

    Great Explanation

  • @shikharchaudhary6984
    @shikharchaudhary6984 5 ปีที่แล้ว +1

    Best explanation

  • @elit5raax
    @elit5raax 4 ปีที่แล้ว

    Can someone explain me how you can use REST(exactly the GET protocol of HTTP) in a secure way ? I mean GET can be logged by any web browser

  • @monfils6167
    @monfils6167 4 ปีที่แล้ว

    thank you .... great job!

  • @rushibojanki3774
    @rushibojanki3774 7 ปีที่แล้ว

    I have just started my career and your videos are very helpful. Your videos help me to visualize how things work in background. More videos from your channel would be appreciated bro! Thanks alot.

  • @zhugrace3466
    @zhugrace3466 4 ปีที่แล้ว

    Hi! Thanks so much for this video and it's pretty helpful! I have a question regarding the slice at 10:00 - may I ask why "GET" is "Not RESTful"? My understanding is "GET" is the correct method to get response in REST? Thank you and looking forward to your answers!

    • @sawajaysharma
      @sawajaysharma 4 ปีที่แล้ว +3

      I believe you would have received your answer in 3 months. In case you haven;t - he didn't say GET is not RESTful. If you see the intent of that request, it is to delete a particular user. In first example, it is done by GET request and a much detailed URI. Instead it should have been via DELETE verb. The one reason you can think of developers doing is ease of use to do any operation via a single VERB/Method. Hope it is clear enough.

    • @zhugrace3466
      @zhugrace3466 4 ปีที่แล้ว

      ​@@sawajaysharma Hi ajay, thanks so much for the response! Actually I haven't got my answer in the past 3 months and your response solves my problem! Really appreciate that.😁

  • @abdeljalilelhayanimarzoqi7501
    @abdeljalilelhayanimarzoqi7501 6 ปีที่แล้ว +1

    Thank you very much for the clear explanation of the subject and I hope you success in the coming videos

  • @pearlabotsi2861
    @pearlabotsi2861 5 ปีที่แล้ว

    Great very easy to understant trainng!

  • @nisal_pubudu
    @nisal_pubudu 3 ปีที่แล้ว +1

    ♥️🔥

  • @mainakghosh156
    @mainakghosh156 3 ปีที่แล้ว

    very well made video

  • @ayza6488
    @ayza6488 5 ปีที่แล้ว +6

    you're amazing keep going broo

  •  4 ปีที่แล้ว

    Hi, first of all Thanks !!! Is Source Code available at 13:21 of the Tutorial?
    Thanks !!!

  • @jxcy_dev583
    @jxcy_dev583 4 ปีที่แล้ว

    Very Nice!!

  • @russomario
    @russomario 2 ปีที่แล้ว

    I have a doubt: "REST" is the architectural style while "RESTful API" are typically web services implementing such an architecture. With "REST API" we refer to "RESTful API" or are they something different?

    • @TheTechCave
      @TheTechCave  2 ปีที่แล้ว +1

      It's the same actually 🙂

  • @MrChakudu
    @MrChakudu 4 ปีที่แล้ว

    You definitely “NOT” disappointed me👌👌👌👏👏👏