APIs | REST | REST APIs Demystified

Поділитися
Вставка
  • Опубліковано 3 лис 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 UA-cam Channel. I Would love to see more videos from you in the future.

  • @sundargautambabaji
    @sundargautambabaji 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! 😄

  • @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.

  • @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!

  • @rajarshisadhya8174
    @rajarshisadhya8174 6 років тому +34

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

  • @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.

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

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

  • @lightyearahead
    @lightyearahead 3 роки тому +6

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

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

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

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

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

  • @toskr-r4t
    @toskr-r4t 2 роки тому

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

  • @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.

  • @farlight6044
    @farlight6044 4 роки тому +5

    Finding this channel is like finding a diamond

  • @florianfriedrich1618
    @florianfriedrich1618 3 роки тому

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

  • @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.

  • @futgaming17
    @futgaming17 3 роки тому

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

  • @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!!

  • @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.

  • @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!

  • @nachomarquez7541
    @nachomarquez7541 5 років тому +15

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

  • @shyammakwana3770
    @shyammakwana3770 3 роки тому

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

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

    The best video on REST by far.

  • @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!!

  • @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!

  • @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!

  • @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!

  • @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!

  • @hasanm.hallak1113
    @hasanm.hallak1113 2 роки тому

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

  • @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! :)

  • @The-Athenian
    @The-Athenian 4 роки тому

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

  • @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.

  • @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.

  • @darklord-mt3yr
    @darklord-mt3yr 2 роки тому

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

  • @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""

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

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

  • @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

  • @ivoavido1
    @ivoavido1 3 роки тому

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

  • @lillihermoni2871
    @lillihermoni2871 4 роки тому +1

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

  • @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 :)

  • @sachintripathi5742
    @sachintripathi5742 3 роки тому

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

  • @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

  • @adaontheblock4274
    @adaontheblock4274 3 роки тому

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

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

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

  • @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.

  • @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.

  • @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.

  •  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.

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

    Amazing!
    clear ,easy and direct explanation

  • @loulinaz3770
    @loulinaz3770 3 роки тому

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

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

    Best explanation ever! Thank you!!!

  • @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?

  • @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

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

    short and detailed information, well done

  • @erfelipe
    @erfelipe 3 роки тому +1

    Thanks for this class.

  • @acho8387
    @acho8387 5 років тому +2

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

  • @vi-9462
    @vi-9462 3 роки тому

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

  • @samgeorge3817
    @samgeorge3817 5 років тому +5

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

  • @JHatLpool
    @JHatLpool 4 роки тому

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

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

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

  • @imranekhalid2562
    @imranekhalid2562 3 роки тому

    Excellent presentation!

  • @funkmaster322
    @funkmaster322 3 роки тому

    tbarkellah 3lik khoya

  • @lorenz_codes
    @lorenz_codes 3 роки тому

    That was such a great explanation! Thank you :)

  • @Chrono28x
    @Chrono28x 5 років тому +3

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

  • @Sso1337
    @Sso1337 3 роки тому

    very good presentation, well explained.keep going broooo

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

    This was great! thank you so much!

  • @marvinmonteagudo7674
    @marvinmonteagudo7674 4 роки тому

    I love your explanation! Much respect...

  • @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

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

    Well explained. Thanks man.

  • @phaphamaninonyusa2840
    @phaphamaninonyusa2840 5 років тому +4

    Good explanation REST App thank you

  • @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 :(

  • @geadwi
    @geadwi 4 роки тому

    Very good explanation, thanks a lot.

  • @rushibojanki3774
    @rushibojanki3774 6 років тому

    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.

  • @banksdada501
    @banksdada501 5 років тому +1

    nice and simply stated. thanks for this

  • @heshamhanafy28
    @heshamhanafy28 4 роки тому +1

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

  • @wilsun007
    @wilsun007 7 років тому +6

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

  • @franco-cespi
    @franco-cespi 4 роки тому

    Great material!

  • @ericdoingaiagain
    @ericdoingaiagain 5 років тому +1

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

  • @riadbereksi6559
    @riadbereksi6559 5 років тому +2

    Great explanation ! Thank you

  • @abdulrahmansalem6026
    @abdulrahmansalem6026 3 роки тому

    Your videos are amazing , Thank you ♥

  • @shikharchaudhary6984
    @shikharchaudhary6984 5 років тому +1

    Best explanation

  • @duncanhay9779
    @duncanhay9779 6 років тому

    I've read and watched loads material on this subject. This explanation is by far the best. Describing it from first principles really helped me gain a fundamental understanding. Thanks!

  • @amitlpawar
    @amitlpawar 4 роки тому

    Very good explaination....Thanks :-)

  •  4 роки тому

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

  • @OlushiyanIbukunoluwa
    @OlushiyanIbukunoluwa 4 роки тому

    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!

  • @ArisKaratarakis
    @ArisKaratarakis 5 років тому +2

    This is a great explanation 👏

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

    How to work it, can you give a better code example of the combination of .NET Core and Angular? in Rest API and Restful APIs

  • @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.😁

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

    Nice work, upgrade my school courses.

  • @abdeljalilelhayanimarzoqi7501
    @abdeljalilelhayanimarzoqi7501 6 років тому +1

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

  • @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

  • @diwakarjoshi7227
    @diwakarjoshi7227 3 роки тому

    Ultimate ❤️❤️

  • @preetsoni5138
    @preetsoni5138 4 роки тому

    Great Explanation

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

    Great video!

  • @leonf.7893
    @leonf.7893 4 роки тому

    This video is a couple of years old. Do you still recommend hapi and loopback?

    • @TheTechCave
      @TheTechCave  4 роки тому +1

      Hapi is a great technology. It has a new imporved api now and its community is growing too. I still use it for my projects. Loopback is still good too. Whatever solves your problem is good.

  • @charleswagon4232
    @charleswagon4232 5 років тому +2

    Great presentation. Thank you.

  • @monfils6167
    @monfils6167 4 роки тому

    thank you .... great job!

  • @nisal_pubudu
    @nisal_pubudu 3 роки тому +1

    ♥️🔥

  • @mainakghosh156
    @mainakghosh156 3 роки тому

    very well made video

  • @ayza6488
    @ayza6488 5 років тому +6

    you're amazing keep going broo