How to Create a Simple API in PHP

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ก.พ. 2025
  • In this video, I will explain to you how to create a simple API in PHP.
    For Best Hosting Plan Check:- 91weblessons.co...
    Promo Code: ProgrammingWithVishal
    To help and support me(Donate Me):- bit.ly/DonateP...
    Learn Complete PHP:- • Step by step complete ...
    PHP cURL Tutorial with Example in Hindi: • PHP cURL Tutorial with...
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ✅Subscribe: / @programmingwithvishal
    I am a Digital Marketer by passion and a Developer by profession. With experience and expertise spanning around 10 years, in the Digital space.
    Good amount of experience in development of web applications using PHP, .Net, JavaScript Library’s, Frameworks, CMS, API’s, Reporting tools and Payment Gateways. Skilled in digital viral marketing, technology innovation's, brand building and all phases of the Web development lifecycle with an expert in translating business requirements into technical solutions and fanatical about quality, usability, security, and scalability. Dealing with and resolving problems and issues which arise.

ความคิดเห็น • 177

  • @RAHULGUPTA-wf6wx
    @RAHULGUPTA-wf6wx 4 ปีที่แล้ว +12

    Wah guru Ji, API ki is knowledge ko kitna dhundha mene.... Ajj atma tript ho gyai... Gupta praising Gupta ji 👍

  • @iamnoone7069
    @iamnoone7069 4 ปีที่แล้ว +35

    The perfect gift for PHP learners. Thank you so much our perfect teacher😃😃

  • @milanbhadani9783
    @milanbhadani9783 3 ปีที่แล้ว +1

    Thank you very well to you i have created first api from your this video

  • @ajaydewangan8716
    @ajaydewangan8716 4 ปีที่แล้ว +1

    Bahot Badiyaaa 👌

  • @it-all-software979
    @it-all-software979 3 ปีที่แล้ว

    Really,Now i underestand API.Thank you so much brother.Allah bless you.

  • @saqibjaved7744
    @saqibjaved7744 2 ปีที่แล้ว

    This one Video Clears all my concept about Api, how to use api and how does this work.
    Thanks Vishal Sir ,Love from a student

  • @mmmiraz6487
    @mmmiraz6487 7 หลายเดือนก่อน

    You are true Teacher ❤

  • @mmitpolytechnicmaharajganj2828
    @mmitpolytechnicmaharajganj2828 4 ปีที่แล้ว +6

    Best Teacher in the world for every programmer
    God bless you Sir

  • @BhaviMahisuri
    @BhaviMahisuri 3 ปีที่แล้ว +3

    You have great skills of teaching sir!! Thanks a lot!!!

  • @piyushnagwani6017
    @piyushnagwani6017 3 ปีที่แล้ว

    thanks for teach us what is api i listened about long time ago but today i learned it very easily

  • @majclass2361
    @majclass2361 3 ปีที่แล้ว

    Big thanks
    Concept hi clear ho gaya sir.

  • @niteshchaurasiya1531
    @niteshchaurasiya1531 4 ปีที่แล้ว +2

    Very nice sir I am waiting this video . Thank you very much .

  • @gopalp2597
    @gopalp2597 6 หลายเดือนก่อน

    Sir, it's very helpful 👍

  • @sumitdutta2763
    @sumitdutta2763 4 ปีที่แล้ว +5

    Thank you so much Sir for this New Year Gift.

  • @skumarm610
    @skumarm610 4 ปีที่แล้ว

    Good One - API is now very important because database connection is old story

  • @AliHassan-wc6nb
    @AliHassan-wc6nb 3 ปีที่แล้ว

    You are love Vishal!

  • @niyazahamed8352
    @niyazahamed8352 2 ปีที่แล้ว

    Thank you, Very Well Explained. Understood everything

  • @Mano-Is-Live
    @Mano-Is-Live 2 ปีที่แล้ว

    Today I have cleared my all doubts regards API, Thank you sir ❤😋

  • @UmairAli
    @UmairAli 3 ปีที่แล้ว

    Zabardast Vishal Bhai love from Pakistan ❣️

  • @tyrelldante885
    @tyrelldante885 4 ปีที่แล้ว +2

    So Nice 💘💘💘💘💘💘

  • @sureshsuryawanshi3409
    @sureshsuryawanshi3409 3 ปีที่แล้ว

    You are the best sir ♥️

  • @RahulJha-ne4rc
    @RahulJha-ne4rc 3 ปีที่แล้ว

    Your video is really very good for new student

  • @panchmeshalitheatre7415
    @panchmeshalitheatre7415 3 ปีที่แล้ว

    Its a great gift sir

  • @AliHassan-wc6nb
    @AliHassan-wc6nb 3 ปีที่แล้ว

    Kia baat Hai Vishal.

  • @AbhishekKumar-ox5is
    @AbhishekKumar-ox5is 4 ปีที่แล้ว +1

    Thanks buddy, another superb video.
    I am waiting for next superb video

  • @programingwithsagarsharma6544
    @programingwithsagarsharma6544 4 ปีที่แล้ว +2

    Sir ya to samaj ma Aa Gaye video sir

  • @khidmat-e-khalq1053
    @khidmat-e-khalq1053 4 ปีที่แล้ว +1

    Nice tutorial.❤👍

  • @piyushshyam473
    @piyushshyam473 4 ปีที่แล้ว +1

    Thank you sir awesome video. And happy new year sir

  • @nikhilkolambe8896
    @nikhilkolambe8896 4 ปีที่แล้ว +1

    2021 first ka first view ❤️

  • @abhishekbhandari9601
    @abhishekbhandari9601 3 ปีที่แล้ว

    excellent job sir.

  • @AbhishekSharma-eo1xe
    @AbhishekSharma-eo1xe 4 ปีที่แล้ว +1

    Thank you sir nice video 😊 and wishing you a happy new year 2021👍

  • @mannu6528
    @mannu6528 3 ปีที่แล้ว

    Good explanation

  • @abhiandniyupodcast
    @abhiandniyupodcast 2 ปีที่แล้ว

    Happy New Year 2023, Sir! 🏕️✨

  • @abhishekmukherjee5568
    @abhishekmukherjee5568 4 ปีที่แล้ว +1

    Thank you so much sir

  • @sandeeppaswan9960
    @sandeeppaswan9960 4 ปีที่แล้ว +1

    Thank you sir..

  • @kaderkhan7566
    @kaderkhan7566 2 ปีที่แล้ว

    Very nice

  • @aniket7333
    @aniket7333 4 ปีที่แล้ว +1

    Happy New year sir

  • @dastgirakhtar9782
    @dastgirakhtar9782 4 ปีที่แล้ว +1

    Nice

  • @developindiaonline
    @developindiaonline 4 ปีที่แล้ว

    Very Well 👍

  • @kdsavaliya615
    @kdsavaliya615 3 ปีที่แล้ว

    happy new year

  • @sunilkumarpatra8224
    @sunilkumarpatra8224 3 ปีที่แล้ว

    dear sir, here you are explaining how to call local server database from live server. if the local server is off or nor not running at that time, then what is the result? or the case is something like, we can call the local server database from the live server, in the same machine where the database is there?
    I am replying late because i am start reading this new concept from today(14/08/2021)
    I want to give THANKS from my heart, for your dedication ....

  • @management2006
    @management2006 2 ปีที่แล้ว

    Intelligent guy

  • @programingwithsagarsharma6544
    @programingwithsagarsharma6544 4 ปีที่แล้ว +1

    Thanks sir

  • @swa-adhyayantrainingvideos5049
    @swa-adhyayantrainingvideos5049 3 ปีที่แล้ว

    It is a good tutorial and really helpful for me. Thanks

  • @MakeGamesIndia
    @MakeGamesIndia 3 ปีที่แล้ว

    Thank-you and excellent .

  • @perwezzeya523
    @perwezzeya523 2 ปีที่แล้ว

    you are working on which editor

  • @deepakkewalramani08
    @deepakkewalramani08 4 ปีที่แล้ว

    Thanks you do much sir! Now all clear! ♥

  • @abhisekkarmakar4884
    @abhisekkarmakar4884 3 ปีที่แล้ว

    Sir, aagar mai json ke madat se similar php api file banau kaya o android app main kam kare gaa.. ?

  • @ArhaamAcademy
    @ArhaamAcademy 3 ปีที่แล้ว

    Thanks, sir, great job in so easy explanation! Now, I understood it

  • @management2006
    @management2006 2 ปีที่แล้ว

    So can we test this on any website like Hindustan Times?

  • @vinoddeep613
    @vinoddeep613 4 ปีที่แล้ว +1

    Thanks Sir
    Please also describe
    curl vs API

  • @dastgirakhtar9782
    @dastgirakhtar9782 2 ปีที่แล้ว

    Best

  • @shashikantbharti3157
    @shashikantbharti3157 4 ปีที่แล้ว

    Happy New Year Sir

  • @tajulislam327
    @tajulislam327 2 ปีที่แล้ว

    Thanks

  • @dfordemo981
    @dfordemo981 3 ปีที่แล้ว

    Sir aik new series b start kren, PHP API development , jo core men ho ya laravel men

  • @vikramsuryawanshi4335
    @vikramsuryawanshi4335 4 ปีที่แล้ว

    Gr8

  • @kkpatra
    @kkpatra 4 ปีที่แล้ว +1

    👍👍👍

  • @nilambariya5763
    @nilambariya5763 3 ปีที่แล้ว

    is it soap api or rest api?

  • @indalsingh6675
    @indalsingh6675 2 ปีที่แล้ว +1

    Curl localhost par kaise kaam karta hai?

  • @skathpalia1
    @skathpalia1 4 ปีที่แล้ว

    nice video... Can we do it vise versa
    . means can we call data from local pc to server .. without using static ip.. ??

  • @MuhammadAzam-nt3mg
    @MuhammadAzam-nt3mg 4 ปีที่แล้ว

    thank u sir.

  • @rajabhishek2936
    @rajabhishek2936 4 ปีที่แล้ว +1

    Awosem

  • @mrzakeey1108
    @mrzakeey1108 4 ปีที่แล้ว

    sir postman free hn kya ham usae use krskte hostniger ke bajay

  • @vivekverma7162
    @vivekverma7162 3 ปีที่แล้ว

    Sir please make one video for postman app..

  • @thazeroword646
    @thazeroword646 3 ปีที่แล้ว

    Very nice tutorial plz php multiple data Insert api in postman and Flutter

  • @minakshikaushik9556
    @minakshikaushik9556 4 ปีที่แล้ว

    hlo sir thanks for this valuable vedio .. u always provide good content for php learners.i have a request sir please make vedio on how to make web services using php i really need this .

  • @miltonahmed6386
    @miltonahmed6386 ปีที่แล้ว

    @vishal bhai ek baat he .. agr maan lijiye apne ek api banaya jaha me koi data insert kar sakta he apke database me .. or jab aap insert huwa data ko jab approve ya update karoge toh mera server pe callback ana chaiye toh ye callback function kese banaye taki mere server pe v oh data update ho jaye

  • @honeypanj
    @honeypanj 4 ปีที่แล้ว

    Thank You, Sir

  • @sumanparajuli229
    @sumanparajuli229 4 ปีที่แล้ว +1

    Sir, create a video on Alan AI it Provide a voice assistant features in to the website or app....

    • @ProgrammingwithVishal
      @ProgrammingwithVishal  4 ปีที่แล้ว

      Noted. Same you can do with Google API also.

    • @sumanparajuli229
      @sumanparajuli229 4 ปีที่แล้ว +1

      @@ProgrammingwithVishal yes sir. but I tried Alan Ai it awesome.......if you have time... try it .. yo gonna love it...and make some video on it....thank you...

  • @debadittaghosh2.0
    @debadittaghosh2.0 3 ปีที่แล้ว

    .asp tutorial upload kab hoga....?

  • @lazyexpertk5933
    @lazyexpertk5933 3 ปีที่แล้ว

    if i want to fetch a user profile image how would i get it. Rest of the code works but i dont know how to fetch img

  • @AnkurSingh-tt7mu
    @AnkurSingh-tt7mu ปีที่แล้ว

    Sir es api ko use karke data insert kaise Kara sakte hai hai hm form me

  • @tipsdhanesh
    @tipsdhanesh 3 ปีที่แล้ว

    Can we retrive image sir

  • @SWAMINARAYAN-KIRTAN-PRAVACHAN
    @SWAMINARAYAN-KIRTAN-PRAVACHAN 3 ปีที่แล้ว +1

    Hello sir,what this example is will suite for an API example, EXAMPLE:When we login to our Facebook or gmail account with credentials then actually we accessing facebook data, yes it will our data but it is stored at facebook server then we can say that we are using Api indirectly and if yes then what this would be a perfect example of API.yes this url will hit by user but our ultimate goal is to access server data and if we see then request-response is happing between two machine. And if this example does not suite to an Api example then what is the difference between our normal browser request and curl request
    Please solve my doubt sir.... it will be great for me sir

  • @roshanwatkar7089
    @roshanwatkar7089 4 ปีที่แล้ว +1

    Sir same aise hi laravel ka bhi banao please video

  • @junihbhatt
    @junihbhatt 4 ปีที่แล้ว +1

    🥳✌🏻😇

  • @mrfactz2851
    @mrfactz2851 3 ปีที่แล้ว

    Sir ak moodle with Php ki series banye please

  • @fidaak83
    @fidaak83 3 ปีที่แล้ว

    Hello Sir i am your big fan, i try this api on my localhost its working fine but when I upload the files to namechecp hosting then its not working, the api it host on other server and i want to fatch from different Server as you show in video

  • @mampudimpu0015
    @mampudimpu0015 3 ปีที่แล้ว

    Apne jo jo kaam kia kya main wo saab xampp k through kar sakta hoo Sir. ?

    • @ProgrammingwithVishal
      @ProgrammingwithVishal  3 ปีที่แล้ว +1

      Yes

    • @mampudimpu0015
      @mampudimpu0015 3 ปีที่แล้ว

      @@ProgrammingwithVishal apka contact number mil sakta hein Sir . What's app number bhi chalega ? Is it possible Sir ?

    • @mampudimpu0015
      @mampudimpu0015 3 ปีที่แล้ว

      Sir apka email id mil sakta hein kya I really need your help to solving my tasks .

  • @ms.bishtvlogs
    @ms.bishtvlogs 2 ปีที่แล้ว

    beginners ke liye ye bht difficult nahi h??
    agr humko apne kisi project me api call krni ho aur hmre pss database ki knowledge na ho toh kese kiya jye?? please help

  • @abhisharma3299
    @abhisharma3299 3 ปีที่แล้ว

    Hello Buddy... please make a api integration tutorial for beginners

  • @bartarajpyakurel5406
    @bartarajpyakurel5406 2 ปีที่แล้ว

    How can i send html tag as json response string?

  • @tahmidlabib2919
    @tahmidlabib2919 4 ปีที่แล้ว

    sir how can I make the query dynamic?
    like which data's we need from db..
    Thanks in advance

  • @Codingwithdeveloper
    @Codingwithdeveloper 3 ปีที่แล้ว

    sir isky baad api edit krne bali video nhi mil rhi?

  • @shekhsarfaraj289
    @shekhsarfaraj289 4 ปีที่แล้ว

    Sir please make a video on product expiry reminder

  • @nitinshinde642
    @nitinshinde642 4 ปีที่แล้ว

    sir please start a series on .net c# visual studio please.
    it will also useful for you...

  • @merajali938
    @merajali938 4 ปีที่แล้ว

    great tutorial, had got a nice idea by this one, can you add a REST API Full tutorial, like a Project on it?

  • @ritwik-chakraborty
    @ritwik-chakraborty 4 ปีที่แล้ว

    Sir one video of making API with taking data from scrapping

  • @soumyodeepto8422
    @soumyodeepto8422 3 ปีที่แล้ว

    Sir how to combine multiple api request in curl and display at once when all requests are completed

  • @riteshjewels1
    @riteshjewels1 3 ปีที่แล้ว

    when i m doing same , its giving error 500, pls help

  • @kevinkayasth16
    @kevinkayasth16 4 ปีที่แล้ว

    Sir I have select two date like 1/1/2021 or 5/1/2021 so how I get slot and insert data between two dates please sir help me

  • @Stroller-buddies
    @Stroller-buddies 4 ปีที่แล้ว +1

    👍

  • @GD-ix6gd
    @GD-ix6gd 4 ปีที่แล้ว

    Sir issme pagination kese set kare

  • @codeknowithrlv
    @codeknowithrlv 9 หลายเดือนก่อน

    sir app code ka bhi resources diya karo jisse download kar sake

  • @rewindkeshav2699
    @rewindkeshav2699 4 ปีที่แล้ว

    how to make api of image??
    help me sir

  • @mridulsharma006
    @mridulsharma006 4 ปีที่แล้ว

    Hello Sir, Your Video is great. Can you also make a video on the integration of jwt token with php api?

  • @RaniMishra26
    @RaniMishra26 3 ปีที่แล้ว

    How to create wordpress API ?

  • @rohitk5723
    @rohitk5723 4 ปีที่แล้ว

    Sir please make a video on how to create a middleware in php from scratch

  • @jayantsharma9523
    @jayantsharma9523 3 ปีที่แล้ว

    $result= json_decode($result,true); it can give NULL value, code not working, any solution sir.

  • @kishandave722
    @kishandave722 4 ปีที่แล้ว

    How to create dynamic database connection in php with form??

    • @ProgrammingwithVishal
      @ProgrammingwithVishal  4 ปีที่แล้ว

      Means?

    • @kishandave722
      @kishandave722 4 ปีที่แล้ว

      @@ProgrammingwithVishal sir like wordpress jab ham local pc me installation karte hai waise ek form hota hai jisme hame username password database name sab dalke install karte hai to hamare database me automatically sabhi table install ho jate hai waise ham php me kaise kar sakte hai ???
      Please sir one video🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥
      And sir flutter me ek project banaye with php database paid course hoga to bhi chalega ham pay kar denge kyuki aapka sikhane ka tarika TH-cam me kahi bhi nai hai ek ek point aap samjate hai hame 🙏🙏🙏🙏🙏🙏🙏🙏🙏

    • @ProgrammingwithVishal
      @ProgrammingwithVishal  4 ปีที่แล้ว +1

      @@kishandave722 Usko PHP installer boalte hain. Check th-cam.com/video/6M16PNaTU4A/w-d-xo.html

    • @kishandave722
      @kishandave722 4 ปีที่แล้ว

      @@ProgrammingwithVishal ohhhh sir Thank you 🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏