PHP REST API From Scratch with Postman (1/3) - Database & Read - Getting Started 🔥🔥
HTML-код
- Опубликовано: 10 сен 2024
- Don't forget to Hit the Subscribe Button
Below: goo.gl/FZkVrR
----------------------------------------------------------------------------------------------------------
Topic Introduction:-
In this series we will put together a REST API using PHP with NO FRAMEWORK. We will use object oriented programming along with PDO to connect and query a MySQL database.
Click here for HTTP Status Codes : en.wikipedia.o...
Source Code: for source code Please leave your email id in the comment box.
---------------------------------------------------------------------------------------
Learn New Technologies -- Visit Our Channel --
/ tutorialspoint2016
1) CodeIgniter Mini Project Tutorial in Hindi/Urdu
Using Angular JS & Boostrap 3 : goo.gl/FSwsJ4
2) Codeigniter Tutorial for Beginners
Step by Step in Hindi : goo.gl/bxG6gJ
3) PDO-OOP-PHP-CRUD-with-Bootstrap : goo.gl/q1KRTn
4) AngularJS Tutorial for Beginners
(For Absolute Beginners ) : goo.gl/Hak26N
5) JSON Tutorial for Beginner : goo.gl/ryPu35
6) Git and GitHub Training In Hindi : goo.gl/HpToSd
7) Java Tutorial For Beginners
(Step by Step tutorial) : goo.gl/QxJ68x
8) PHP Tutorial for Beginners (For Absolute Beginners) : goo.gl/S3urkU
9) OOPS Tutorial for Beginners in PHP : goo.gl/k2kJDM
10) Bootstrap Tutorial for Beginners : goo.gl/NGFDse
11) Magic Methods in PHP Tutorial : goo.gl/BdYLfJ
12) Build a PHP MVC Application : goo.gl/yqDCkb
13) Whats new in PHP 7 | (Introduction) : goo.gl/rTTKkr
14) CRUD with PHP and MySQLi Tutorial : goo.gl/yyjWD7
15) Technology Tips and Tricks : goo.gl/MpR952
16) MongoDB Tutorial for Beginners (Hindi) : goo.gl/NZXD1u
---------------------------------------------------------------------------------------------
For any queries feel free to comment or send a mail on tutorialspoint2016@gmail.com
You can connect with us in social Media :-
facebook : / technicalsunejaji
Want to Join : / 1981858225403035
Don't forget to hit the Subscribe & Like button!
------------------------------------------------------------
#RESTAPI #SimpleExample
In this series we will put together a REST API using PHP with NO FRAMEWORK. We will use object oriented programming along with PDO to connect and query a MySQL database.
Don't forget to hit the Subscribe & Like button!
Your playlist is just like a well manage library with bundle of information and main thing is its free. 90% efforts from your side and only 10 % efforts need from learner. Hats off to your effort.
Many thanks ..:-)
We have created 2 Groups as mentioned below:-
1) Have created chat group
Click here to join
t.me/joinchat/O4jSsBROkFGGjGyKdiKy7w
2) Click here to join in the group where you will find all the source code and Intertesting videos from our youtube channel.:-)
t.me/technicalsuneja
@@TechnicalSuneja thanks sir its like a x-mas gift for me. I going to join this.
Your way of teaching very good, you have explained every thing. I like your tutorials
You probably dont give a shit but if you guys are bored like me atm you can stream pretty much all the new movies and series on instaflixxer. I've been watching with my brother during the lockdown :)
@Ares Spencer Definitely, I have been using InstaFlixxer for since december myself :)
Sir ek request hia... Apki OOP kuch tutorials ki video ki awaz bahut kam hia or clear bhi nahi hia can you do something for that.
Sorry,, I expect you to keep continue from your previous video tutorial "RESTful Web Services in CodeIgniter 3.0 Framework" but in this video there was nothing to learn new, for PDO and how to connect in PDO one can refer your channel for video on MVC.
I request you kindly use the Codeigniter framework to keep continue this series of RESTful API..
Shall be more than thankful to you if you can us give an example of how to Fetch,Add, Edit and Delete records from Mysql Database without normal connecting and add, edit, delete using id, neither by using Ajax also.
But by using 100% restful api , i.e, use POST for adding record, GET for getting all records from database and display (may be in a bootstrap table) , use PUT for updating button. I thing I have been able to explain little bit what I have been looking for from you.
Thanks - Great Work - Please keep Continue
Hi,
I can understand your concern but after 2-3 videos for basis understanding in Rest Api in core php..
will start with CodeIgniter 3.0.
Ok Thanks
@@TechnicalSuneja Basic is important to start any big application.so here everything is clear. so, Thankyou Technical Suneja.
Thank you sir very useful tutorial for me.
hey bro, you are doing great job. it is my humble request to u pls do continue your restful web services in Codeigniter.
Don't worry ..i will
Sir, mere website me 409 conflict error aa Raha hai "contact form 7 URL par". please suggest to me what I can do?
THANKS ...YOUR TUTORIALS ARE GREAT...
Excellent.....
Could not send request
CORS Error: The request has been blocked because of the CORS policy
sir how can i resolve this?
Sir token based authentication kese use krte h rest API m user ko verified krne k liye, Kya only or only JWT k through hi hota h...
Please help sir 🙏🏼🙏🏼🙏🏼
( ! ) Fatal error: Call to a member function prepar() on null in C:\wamp64\www\
i am getting error like this
hello, sir I am following ur CodeIgniter videos ... now I watched tutorial 33 which is about log out ... I followed your code ... but I was faced such of this error ... This page isn’t working [::1] redirected you too many times.
Try clearing your cookies.
ERR_TOO_MANY_REDIRECTS... Sir what I do for this ... I am trying to solve this problem but can't find the solution.
please share me your email address.
yawarturi5@gmail.com
Technical Suneja sir I am waiting for ur response...
Have shared the souce code in your email address .
could you please check and reply back if the problem get resolved .thanks.
Technical Suneja thanks sir ...solved ...
thanks that you heard me
Nice sir to continually
very useful tutorial.....!!
Super video
Hi, I want to learn, how to create rest full API in PHP but I am a beginner in API can you help me. how can i connect with you thanks.
im Facing this error
Fatal error: Uncaught Error: Call to a member function prepare() on null in C:\wamp64\www\workfile\DB.php on line 15
( ! ) Error: Call to a member function prepare() on null in C:\wamp64\www\workfile\DB.php on line 15
please help me to solve
nice video sir app ab github per nhi dalte kya source code jo ki comment session me gmail id drop krnhi padti h
bas kuch din dedo..sab sorted ho jayega..
Thnkyou vry much sir for this tutorial
Sir i have a dought
If the question is
Create a rest api which would return "hello world"
Please reply me sir
simple create method and return "hello world" and try access in URl
@@TechnicalSuneja
@@TechnicalSuneja right or wrong??
@@TechnicalSuneja sir please give me one example for building this example
bhi lenovo vs dell vs hp konsa laptop better ha. kindly reply krnaaaaaaa
mane dono use kiya hai ..dono best hai
but go with lenovo
@@TechnicalSuneja thanks bro lenovo t430s i5 purchase kr lia ha
@@TechnicalSuneja ap ki suggestion par :)
pdo me hi pura video jis topic par bana rahe ho using par banawo
And please make more videos on web services using codeigniter we are waiting sir
Aplogies for delay.
will upload very soon..
Sir give all video on this please
{"status":false,"error":"Unknown method"}
sir ye error aa raha he codeigniter API me, kya problem ho sakta he???
method issue .leg raha hai ..wrong calling
@@TechnicalSuneja
ye coding he, kya problem ho sakta he???
@@TechnicalSuneja codeigniter-restserver-master download kiya usme example name se api he usme se hi code liya he
We are waiting for it
What is postman
can u suggest php connection with salesforce?
Nice
Wow that what i am searching for you explain very well...
Sir i am unable to connect my pho to database this error i am getting:-
Fatal error: Uncaught RuntimeException: Unexpected data in output buffer. Maybe you have characters before an opening <?php tag? in /opt/lampp/htdocs/friendster/vendor/slim/slim/Slim/App.php:625
Stack trace:
#0 /opt/lampp/htdocs/friendster/vendor/slim/slim/Slim/App.php(333): Slim\App->finalize(Object(Slim\Http\Response))
#1 /opt/lampp/htdocs/friendster/public/index.php(3): Slim\App->run()
#2 {main}
thrown in /opt/lampp/htdocs/friendster/vendor/slim/slim/Slim/App.php on line 625
Please share me email address
Thank you sir i fixed that error ☺️
Love your video you explain it so simply thaks again .
I suggest everyone to follow you who want to learn coding php nd many more that you have.
afaquejaya123@gmail.com
Your Subscriber
I'm a Android developer, but I want to learn php for create restfull api.
Please guide me
Can you make without any framework ??
Yes we can
hello sir
Hi Ajay, Please upload videos for GraphQL. What the hell is this, please clear it.
Hi Riyaz,
Yes sure . i will
Hi!
Nice video sir
Nice video
Sir jaldi or video banayena api ke bare me
sure..will upload soon
facing many issue Source Code Please
please upload next video ...fast
please upload more video in rest api
sir next video kb aya gi..
will upload soon.
@@TechnicalSuneja thankyou sir
Bhai code ni chaiye practical kru yrr step by step
pratical hi to btaya hai ..isme ..kya requirement hai aapki?
plz send source code
please send me code
Source Code Please
Explode ka logic galat bataya h ...
It's convert string to array and then you check first array (0) == 'select' kindly edit video section .
Also I want CI web service API code with key validation can you share with me?
Hi Piyush,
I think there is no need to edit the video.. Because mane mention kiya hai or btaya bhi hai clearly ki vo indexing jo ho rahi hai. 0,1,2,3
Vo space separated ho rahi hai using explode function then aapki baat sahi hai ki it's converts string to array. Jo mn Shayad bolna bhul gya os time.
Thanks for this.
will share with you on coming saturday..thanks.
Boss aaya nhi CI web API ki next video
Sir plz provide code
Please share me your email address
Sir token based authentication kese use krte h rest API m user ko verified krne k liye, Kya only or only JWT k through hi hota h...
Please help sir 🙏🏼🙏🏼🙏🏼