Tue. Nov 5th, 2019

Host your Website

Read and learn

FatCow Plan for $3.15/mo. only

REST API & RESTful Web Services Explained

2 min read

What is REST API? REST stands for Representational State Transfer and API stands for Application Programming Interface.

Hey guys, I’m now using Patreon to share improved and updated video lesson material. For a small fee you can access all the downloadable files from this lesson (source code, icons & graphics, cheat sheets) and everything else included in the video from the Patreon page. Additionally, you will get access to ALL Clever Techie videos in HD format with no ads. Thank you so much for supporting Clever Techie 🙂

Download this video’s files here:

( You also get access to ALL source code and any downloadable content of ALL Clever Techie videos, as well as access to ALL videos in HD 1080p quality format with all video ads removed! )

Representational – the resource (image, page, video, profile) is represented by the web server to the client in any format like HTML, Image, JSON, XML etc.

State – the state of the application (web site) on a client’s computer changes as the client clicks from one link to the next. Ask the client clicks on the link, they request additional resources, and the application “state” changes.

Transfer – the transfer of resources from the web server to the client in a “representational” state which can be read by the client or implemented in the application program by the programmer. The transfer may also refer to the application state transfer as the client browses a web site.

API – application programming interface provides useful methods/functions which a programmer can implement into his own application in a chosen programming language like PHP. The API makes it easy for programmers to implement. It’s important to note that the response we get when sending REST API request will usually be in JSON, XML or other format which makes it easy to implement in the code and it’s not meant to be read immediately by a human being.

( Website ) https://clevertechie.com – PHP, JavaScript, WordPress, CSS, and HTML tutorials in video and text format with cool looking graphics and diagrams.

( YouTube Channel ) https://www.youtube.com/c/CleverTechieTube

( Google Plus ) https://goo.gl/J71p6f – clever techie video tutorials.

( Facebook ) https://www.facebook.com/CleverTechie/

( Twitter ) https://twitter.com/theclevertechie


40 thoughts on “REST API & RESTful Web Services Explained

  1. This should be broken down into a series. Great video for beginners up until 8th minute at which point the clip should've ended, the presenter should've take a rest!! and then started a new clip on REST.

  2. This was NOT REST. This was just an rpc call over http. REST is not rpc. You do not pass a method in REST uri. The method is provided by the http request type – GET, PUT, POST, etc.

  3. That was really good, thank you.

    I feel that more stuff need to be presented in plain English before going to the code. A Lot of tutorials just go to the code without explaining in pseaudo code what's actually going on. IT's seems the most important part, why people don't do that?

  4. Fuck you guys all says OOPS real world objects as resources. Actually relate it to real time banking or insurance or mortgage transactions. WTF is resource there? Imagine you are using a promo code from a site to its partner site and buying something, by making a "Transaction" of the points and some remaining amount and under the scope of transaction, you have multiple things like synchronization, muti thread processing and so on and on and on and on. Now, here what is a resource? Explain that. Why in internet everyone says resource as MILK, Video, Phtos. Fucking these are not asked in the interviews, but asked under real term scenarions like i mentioned

  5. How the fucking response can have anything other than JSON? Oh wait, here, I can agree XML but how the fuck other types he shows. Ridiculous

  6. While this is beautifully explained I came here to understand the difference between API and webservice and the title probably promised me that, but I never got the difference.

Comments are closed.

Copyright © All rights reserved. | Newsphere by AF themes.