REST API Development Part 12: Consume API using CURL

Поделиться
HTML-код
  • Опубликовано: 25 окт 2024

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

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

    At first I was a little bit reluctant because of the number of videos in the playlist, but after checking a lot of other videos on other channels, I still did not understand the jwt concept with php and curl.
    I came back to your channel and decided to give this playlist a try, I became hooked right from the very first video till this 12th video. It was worth it. I really appreciate how much time and the effort you put in to make this video and explain everything very clearly. Thanks once again Sahani! Thank you!

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

    Very Useful Tutorial. I was searching for the same tutorial for a long time but, couldn't find it and today finally I landed on your video after lots of searches. The beauty of this tutorial is that you have also shown us how to copy the curl code from Postman, which I wasn't aware of. Thanks a lot!!

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

    Thank you! Whery clear tutorial.
    By the way, [Postman] - productive.
    Mostly comfortable save JWT in ENVIRONMENT by script on /test/ tab like:
    var jsonData = pm.response.json();
    pm.environment.set("jwt", jsonData['response']['result']['token']);
    After. In all tabs for requests Set in /Authorisation/ -> Type /Bearer Token/ with value {{jwt}}. This wil authomaticaly use fresh token for all requests.

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

    Very good job man

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

    Thks for sharing nice work

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

    Thanks a lot, have gone through and practiced with you all videos from which I have achieved slowly by slowly

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

    Awesome bro. Thanks a lot for such a great effort. It will help millions of developer like me.

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

    Very helpful bro
    Thank you

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

    Thanks for this great tutorial, really helpful!
    With a few minor tweaks (mostly headers to avoid CORS errors and to return proper HTTP status codes) I've adapted it to be accessed from an Angular 8 application.

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

      hey, care to share with me, cetricka@gmail.com

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

      Excuse me, could you share your modified code? jcmr1976@gmail.com

  • @devglow-amindu
    @devglow-amindu 4 года назад

    Thank you very much the amazing tutorials

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

    Excellent work bro!

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

    very helpful video, thanks

  • @NirikShan_
    @NirikShan_ 6 лет назад

    Thanks for this video I watch all those video without missing even a single second .....now please make video on the topic uploading file using rest api ...thanks a lot

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

    Great Tutorial

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

    awesome

  • @AbdulBasit-oo1pg
    @AbdulBasit-oo1pg 5 лет назад

    Thank you so much for such a great tutorial.

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

    thanks for video. What if I want to fetch data from a software and post the data into a database using api.. ( condition- data consist of master as well as child, also need sync data during specific time . Is it possible with curl and api??

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

    Hey how do we pass data dynamically to curl . Can we send $request value dynamically instead of directly pasting the value there?

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

    Thanks

  • @er.sateeshroy5588
    @er.sateeshroy5588 5 лет назад

    hello , all tutorial is good for learning but who to upload file in this format . please reply question ???

  • @mariocremer
    @mariocremer 6 лет назад

    You told you would share on Github an place the url in the description. Where is it?

    • @Tanzeel431
      @Tanzeel431 6 лет назад

      Click on SHOW MORE option

  • @drlucky5474
    @drlucky5474 6 лет назад

    If I want to make user login form, then I have to store the token some where on local storage, right? So I don't have to login again and again.

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

    curl_close($curl); on line 24 must be outside of else statement, otherwise, when the error occurs, the curl session remains open therefore occupying the resources.

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

    bro what about refresh token how to generate store and pass renew access token?

  • @yakubmwambeyu8096
    @yakubmwambeyu8096 6 лет назад

    Heey, could you please add another tutorial showing how we can call these web services using a simple form using POST method.

  • @gunat8058
    @gunat8058 6 лет назад

    if its a live we need to create token each and every time is there any way because token will expire.

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

    "error":{"status":302,"message":"Wrong number of segments"}}
    Hi Sir,
    I encounter this error. Please help . thank you

  • @alhimiks8986
    @alhimiks8986 6 лет назад

    Thanks man!

  • @khumozin
    @khumozin 6 лет назад

    Can you please make a simple login with PHP & JWT, please.

  • @gustavoadolfoolivacampos5602
    @gustavoadolfoolivacampos5602 6 лет назад

    Do you know how to request the token for any action the user does?

  • @resistancet8
    @resistancet8 6 лет назад

    Thank you!

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

    hello. thanks
    I implemented all your training.
    How do I upload files with my request?
    I'm asking for a training upload.
    thanks

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

    thx dude, i was code for an hour but forget to set CURLOPT_POSTFIELDS / body to json format

  • @timeless-JAT
    @timeless-JAT 3 года назад

    How to upload image using API ?

  • @AshokKumar-zl8sl
    @AshokKumar-zl8sl 6 лет назад

    Add customer "API does not exist" error please give me a solution bro .

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

    can u pls tell me this in java

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

    next video sir

  • @fuadshahriar6534
    @fuadshahriar6534 6 лет назад

    how to remove token?

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

    Hello Sir

  • @BookSummarycafe
    @BookSummarycafe 6 лет назад +1

    can you give the source code

  • @signzinfotech5175
    @signzinfotech5175 6 лет назад

    code plz

  • @nagorik24
    @nagorik24 6 лет назад

    Please share the source code :)