Тёмный

How to pass a url query string or a route parameter to AWS Lambda from API Gateway? 

BiteSize Academy
Подписаться 4,6 тыс.
Просмотров 12 тыс.
50% 1

⚡️ Blog post: www.undefinedapps.com/post/ur...
In this video we integrate a lambda function with an API Gateway HTTP endpoint and define a proxy route to direct all incoming requests to our function. We then extract the path and the url query string parameters from the event object which is provided as an argument to the lambda function.
⭐️ Subscribe for more content: newsletter.undefinedapps.com/
#AWS #Lambda #API

Хобби

Опубликовано:

 

20 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 5   
@sadev0
@sadev0 3 года назад
amazing video :) it would be great if you make more videos related AWS services and AWS-cdk
@princepatel6697
@princepatel6697 2 года назад
This was really helpful !
@olhodetamarutaca
@olhodetamarutaca 7 месяцев назад
excelente example using html.
@abhishekkukade1166
@abhishekkukade1166 Год назад
I tries same but getting error {"message":"Internal Server Error"}
@hrmkin3525
@hrmkin3525 2 года назад
Thanks for the video, when I tried the above code in lambda I am getting parsing error of adjacent json element. This the code code can you check it and let me know where I'm going wrong exports.handler = async (event) => { // TODO implement const response = { statusCode: 200, body: String parameters ${JSON.stringify(event.queryStringParameters)} Path ${JSON.stringify(event.requestContext.http.path)} , headers: { 'Content-Type' : 'text/html; charset=utf-8', }, }; return response; };
Далее
Secure API Gateway using Lambda Authorizer (NEW)
33:32
Working With Query Parameters In API | API Gateway
14:11
Купили новый бассейн 🔥
0:58
Просмотров 3 млн
Amazing
0:37
Просмотров 16 млн
Фонтанчик с черным…
1:00
Просмотров 7 млн