How to Create RESTful API in PHP | RESTful API With PHP & MySQL

preview_player
Показать описание
Welcome to this course on Creating a simple REST API in PHP From Scratch. In this video series we will see Create and Consume Simple REST API in PHP.

▶️ Content ▶️
1 - What is a REST API + Project setup
2 - Setting up the project
3 - Reading records from database (PART 1)
4 - Reading records from database (PART 2)
5 - Using Postman for API testing
6 - Create Record
7 - Create Record Part 2
8 - Adding updated feature to the PHP REST API
9 -Adding delete feature to the PHP REST API

What is REST ? What is a REST API ?
REST is an architectural style which is based on web-standards and
the HTTP protocol. This style was initially described by Roy Fielding in 2000. Roy Fielding was also One of the principal authors of the HTTP specification. REST stands for REpresentational State Transfer.
The architectural style of the web.
So what does that even mean??
REST is a set of design criteria and not the physical structure (architecture) of the system REST is not tied to the ‘Web’ i.e. doesn’t depend on the mechanics of HTTP ‘Web’ applications are the most prevalent – hence RESTful architectures run off of it.
Representational State Transfer refers to transferring "representations". You are using a "representation" of a resource to
transfer resource state which lives on the server into application state on the client.

#ProgrammingKnowledge #PHPREST #MySQL
★★★Top Online Courses From ProgrammingKnowledge ★★★

★★★ Online Courses to learn ★★★

★★★ Follow ★★★

DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
Рекомендации по теме
Комментарии
Автор

Thank You for this tutorial
, Superb Explanation, Easy To Understand, Easy To

jayantsharma
Автор

Good tutorial. I would like an explanation about connecting the read data from a remote server and saving that in the local database.

PeterBrooksMelb
Автор

thanks for the tutorial, and how can I create a form to send data, like POST MAN

viengtikoun
Автор

i dont see the link to download the data for the post table (the one for DB)

ridwaanabdelhassan
Автор

hey i appreciate your content, but i don't think that htmlentities should be used when writing data to the DB

riadfelih
Автор

Hi I'm following this tutorial and its quite understandable. Im facing one issue with the update part, im getting the error in Postman <!doctype html>
<title>404 Not Found</title>
<h1 style="text-align: center">404 Not Found</h1>, Im not sure where Im going wrong.

davebudah
Автор

Como se usaria una sesion si esa api es para un carrito de compras?

beticohernandez
Автор

Hello
Thanks for this tutorial

Include the authentication section for api

omidmirrajaee
Автор

good tutorial thanks..
but i can't find any of posts database example in the description

javadbarghamadi
Автор

how to add api key for access our rest api?

rendyananda
Автор

why must set some db attributes? in 17:26

BlackTwst
Автор

Hello, I found your channel tell me something is missing or you finished the video series.
Greetings from Colombia.

beticohernandez
Автор

If Rest API Used do we need to install Apache Http Web server or NginX Http Server?

sunilpandya
Автор

Is correctly create a Project RESTful with PHP PURE or is better create with a microframework o framework? Thanks

josefierro
Автор

Hi, Do you know how to create database in php laravel with medoo ?? 🙏🙏

lindajafari
Автор

hello bro how can I use RestAPI with mysqli Not PDO ? Please sen to me some tut

rebinrafiq
Автор

I can't understand one thing why people using different pages for different action while it is is clear we can use same url for all the action with different http request ?

ShubhamMishra-uwyi
Автор

how can you send a error response in api

_LalitBhardwaj
Автор

the api key and token are missing to access the api remotely, so this api is vulnerable, anyone can access the data through sending requests

MikelLabouf
Автор

patch and copy and another options please

dev_
visit shbcf.ru