Build a HTTP API using AWS Lambda and API Gateway

Поділитися
Вставка
  • Опубліковано 15 гру 2024

КОМЕНТАРІ • 18

  • @ricksegalCanada
    @ricksegalCanada 9 місяців тому +1

    I find it nothing short of hilarious that there are HOURS in certain videos that accomplish what you've done in 8 minutes (8:19 to be precise about it). I'm not even done w/this 24 minute video and I'm lightyears ahead in my coding project. Well done, Jonathan, truly. And for bonus points, you kicked GPT's arse in explaining this concept.

  • @IhebRjeb
    @IhebRjeb 19 днів тому

    Great video just one thing, I'm thinking about testing the full process locally using Sam 🤔 is it possible to test HTTP Api locally ?

  • @gork-i7c
    @gork-i7c Рік тому +1

    Thanks for the tutorial, helped a lot.

  • @EddieMao
    @EddieMao 9 місяців тому

    great great video, thanks a lot!

  • @AhmedGadd
    @AhmedGadd Рік тому

    Helpful tutorial. Thanks.

    • @Jonathan.Davies
      @Jonathan.Davies  Рік тому +1

      You’re welcome Ahmed. Thanks for watching 👍

  • @goodmanmont9723
    @goodmanmont9723 2 роки тому

    do more bro, great video

    • @Jonathan.Davies
      @Jonathan.Davies  2 роки тому +1

      Appreciate that Goodman, more on the way 👍

  • @IasonOrlandosOx
    @IasonOrlandosOx Рік тому

    T hanks ! keep up the good work

  • @prathimaalapati4784
    @prathimaalapati4784 Рік тому

    Thanks for this video. This is definitely helpful for my baby steps. Am trying to have a post call using http URI as backend rather than lambda how can i pass the body of the request ?

    • @Jonathan.Davies
      @Jonathan.Davies  Рік тому

      Glad you found it helpful Prathima. Do you mean making an a POST call to a normal API or making a POST call to Lambda?
      For a POST to a normal API - you do something like this:
      Using the JavaScript Fetch API - define some request options (just an object) that has a body within it - just like this …
      const requestOptions = {
      method: 'POST',
      headers: { 'Content-Type': 'application/json' },
      body: JSON.stringify({ title: 'Fetch POST Request Example' })
      };
      Then make your call - with the API URL and the the requestOptions object we defined above (that contains the body)
      const response = fetch('path.to.your.api', requestOptions);
      Very rough example but hopefully helped a bit 👍

    • @prathimaalapati4784
      @prathimaalapati4784 Рік тому

      @@Jonathan.Davies Cant believe you responded so quickly :-) Am exploring if there is a way to send body when HTTP is chosen as the option and in Manage Integrations ?

  • @aravind4444
    @aravind4444 2 роки тому

    good video

  • @chgian77
    @chgian77 Рік тому

    sorry, but I lost you when you switched the windows. For others perhaps it is obvious, but for me who still learns not so much.

    • @Jonathan.Davies
      @Jonathan.Davies  Рік тому

      @chgian77 that's fair enough, it's good that you're learning. Keep up the good work.