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

Комментарии • 262

  • @TechnicalSuneja
    @TechnicalSuneja  5 лет назад +2

    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!

  • @kplsharma13
    @kplsharma13 4 года назад +2

    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.

    • @TechnicalSuneja
      @TechnicalSuneja  4 года назад

      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

    • @kplsharma13
      @kplsharma13 4 года назад

      @@TechnicalSuneja thanks sir its like a x-mas gift for me. I going to join this.

  • @jaichand7416
    @jaichand7416 5 лет назад +2

    Your way of teaching very good, you have explained every thing. I like your tutorials

    • @aresspencer7833
      @aresspencer7833 3 года назад

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

    • @rexreyansh7370
      @rexreyansh7370 3 года назад

      @Ares Spencer Definitely, I have been using InstaFlixxer for since december myself :)

  • @eneshpal8782
    @eneshpal8782 5 лет назад +2

    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.

  • @ArjunYadav-np4fh
    @ArjunYadav-np4fh 5 лет назад +1

    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

    • @TechnicalSuneja
      @TechnicalSuneja  5 лет назад

      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.

    • @ArjunYadav-np4fh
      @ArjunYadav-np4fh 5 лет назад

      Ok Thanks

    • @sunilriet
      @sunilriet 4 года назад

      @@TechnicalSuneja Basic is important to start any big application.so here everything is clear. so, Thankyou Technical Suneja.

  • @prateekjain7387
    @prateekjain7387 5 лет назад +1

    Thank you sir very useful tutorial for me.

  • @funnyvids7797
    @funnyvids7797 5 лет назад +2

    hey bro, you are doing great job. it is my humble request to u pls do continue your restful web services in Codeigniter.

  • @Govindkumar-zd4gu
    @Govindkumar-zd4gu 2 года назад

    Sir, mere website me 409 conflict error aa Raha hai "contact form 7 URL par". please suggest to me what I can do?

  • @naveenpandit100
    @naveenpandit100 5 лет назад +1

    THANKS ...YOUR TUTORIALS ARE GREAT...

  • @almasiurrahman5074
    @almasiurrahman5074 Год назад

    Excellent.....

  • @aafaqahmad4634
    @aafaqahmad4634 3 года назад

    Could not send request
    CORS Error: The request has been blocked because of the CORS policy
    sir how can i resolve this?

  • @16ssc1988
    @16ssc1988 5 лет назад

    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 🙏🏼🙏🏼🙏🏼

  • @RAHULKUMAR-vv1vs
    @RAHULKUMAR-vv1vs 5 лет назад

    ( ! ) Fatal error: Call to a member function prepar() on null in C:\wamp64\www\
    i am getting error like this

  • @yawarturi5
    @yawarturi5 5 лет назад +1

    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.

    • @TechnicalSuneja
      @TechnicalSuneja  5 лет назад +1

      please share me your email address.

    • @yawarturi5
      @yawarturi5 5 лет назад +1

      yawarturi5@gmail.com

    • @yawarturi5
      @yawarturi5 5 лет назад +1

      Technical Suneja sir I am waiting for ur response...

    • @TechnicalSuneja
      @TechnicalSuneja  5 лет назад +1

      Have shared the souce code in your email address .
      could you please check and reply back if the problem get resolved .thanks.

    • @yawarturi5
      @yawarturi5 5 лет назад

      Technical Suneja thanks sir ...solved ...
      thanks that you heard me

  • @techajay6029
    @techajay6029 5 лет назад +1

    Nice sir to continually

  • @rinkuindiaofficial
    @rinkuindiaofficial 5 лет назад +1

    very useful tutorial.....!!

  • @djworld2218
    @djworld2218 2 года назад

    Super video

  • @rekhamahto6579
    @rekhamahto6579 4 года назад

    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.

  • @ganeshadak6612
    @ganeshadak6612 5 лет назад

    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

  • @gajendrasharma3516
    @gajendrasharma3516 5 лет назад +1

    nice video sir app ab github per nhi dalte kya source code jo ki comment session me gmail id drop krnhi padti h

  • @rishabhpachori5173
    @rishabhpachori5173 5 лет назад +1

    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"

  • @ciahacker4593
    @ciahacker4593 5 лет назад +1

    bhi lenovo vs dell vs hp konsa laptop better ha. kindly reply krnaaaaaaa

    • @TechnicalSuneja
      @TechnicalSuneja  5 лет назад +1

      mane dono use kiya hai ..dono best hai
      but go with lenovo

    • @ciahacker4593
      @ciahacker4593 5 лет назад

      @@TechnicalSuneja thanks bro lenovo t430s i5 purchase kr lia ha

    • @ciahacker4593
      @ciahacker4593 5 лет назад

      @@TechnicalSuneja ap ki suggestion par :)

  • @newsall3049
    @newsall3049 4 года назад

    pdo me hi pura video jis topic par bana rahe ho using par banawo

  • @jaiveergupta9971
    @jaiveergupta9971 5 лет назад +1

    And please make more videos on web services using codeigniter we are waiting sir

  • @durveshkumar618
    @durveshkumar618 5 лет назад +2

    Sir give all video on this please

  • @jadejajaypalsinh7333
    @jadejajaypalsinh7333 5 лет назад

    {"status":false,"error":"Unknown method"}
    sir ye error aa raha he codeigniter API me, kya problem ho sakta he???

    • @TechnicalSuneja
      @TechnicalSuneja  5 лет назад

      method issue .leg raha hai ..wrong calling

    • @jadejajaypalsinh7333
      @jadejajaypalsinh7333 5 лет назад

      @@TechnicalSuneja
      ye coding he, kya problem ho sakta he???

    • @jadejajaypalsinh7333
      @jadejajaypalsinh7333 5 лет назад

      @@TechnicalSuneja codeigniter-restserver-master download kiya usme example name se api he usme se hi code liya he

  • @princevanzara6673
    @princevanzara6673 5 лет назад

    We are waiting for it

  • @hariprakashyadav991
    @hariprakashyadav991 4 года назад

    What is postman

  • @sakshigoyal7809
    @sakshigoyal7809 4 года назад

    can u suggest php connection with salesforce?

  • @Quick_Code
    @Quick_Code 4 года назад +1

    Nice

  • @afaquejaya2524
    @afaquejaya2524 5 лет назад +1

    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

    • @TechnicalSuneja
      @TechnicalSuneja  5 лет назад +1

      Please share me email address

    • @afaquejaya2524
      @afaquejaya2524 5 лет назад

      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

  • @aashishvishavkarma9838
    @aashishvishavkarma9838 3 года назад

    I'm a Android developer, but I want to learn php for create restfull api.
    Please guide me

  • @GovExamsJobsofIndia
    @GovExamsJobsofIndia 5 лет назад +1

    Can you make without any framework ??

  • @ShyamPremi954
    @ShyamPremi954 3 года назад

    hello sir

  • @neutralengineer3873
    @neutralengineer3873 5 лет назад +1

    Hi Ajay, Please upload videos for GraphQL. What the hell is this, please clear it.

  • @aashishvishavkarma9838
    @aashishvishavkarma9838 3 года назад

    Hi!

  • @princevanzara6673
    @princevanzara6673 5 лет назад

    Nice video sir

  • @tituda1041
    @tituda1041 5 лет назад +1

    Nice video

  • @princevanzara6673
    @princevanzara6673 5 лет назад +1

    Sir jaldi or video banayena api ke bare me

  • @HK_Mashup
    @HK_Mashup 2 года назад

    facing many issue Source Code Please

  • @prashantitaliya2810
    @prashantitaliya2810 5 лет назад +1

    please upload next video ...fast

  • @rajneeshsingh6249
    @rajneeshsingh6249 4 года назад

    please upload more video in rest api

  • @musawarbinali
    @musawarbinali 5 лет назад +1

    sir next video kb aya gi..

  • @MuhammadAdnan-gx6rd
    @MuhammadAdnan-gx6rd 5 лет назад +1

    Bhai code ni chaiye practical kru yrr step by step

    • @TechnicalSuneja
      @TechnicalSuneja  5 лет назад

      pratical hi to btaya hai ..isme ..kya requirement hai aapki?

  • @ranukhankhana8313
    @ranukhankhana8313 4 года назад

    plz send source code

  • @ShyamPremi954
    @ShyamPremi954 3 года назад

    please send me code

  • @techsubhankar7180
    @techsubhankar7180 5 лет назад

    Source Code Please

  • @Its_Personal456
    @Its_Personal456 5 лет назад

    Explode ka logic galat bataya h ...

    • @Its_Personal456
      @Its_Personal456 5 лет назад

      It's convert string to array and then you check first array (0) == 'select' kindly edit video section .

    • @Its_Personal456
      @Its_Personal456 5 лет назад +1

      Also I want CI web service API code with key validation can you share with me?

    • @ajaysuneja2866
      @ajaysuneja2866 5 лет назад +1

      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.

    • @TechnicalSuneja
      @TechnicalSuneja  5 лет назад

      will share with you on coming saturday..thanks.

    • @Its_Personal456
      @Its_Personal456 5 лет назад

      Boss aaya nhi CI web API ki next video

  • @22kadam79
    @22kadam79 5 лет назад

    Sir plz provide code

  • @16ssc1988
    @16ssc1988 5 лет назад

    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 🙏🏼🙏🏼🙏🏼