Creating a POST Api | AWS API Gateway Passing Data to AWS Lambda

  Рет қаралды 31,637

Knowledge Amplifier

Knowledge Amplifier

Күн бұрын

Prerequisite:
What is a Proxy?
• What is a Proxy?
Concept of Reverse Proxy & API Gateway
• Concept of Reverse Pro...
Introduction to API Gateway with in-depth intuition
• Introduction to API Ga...
To know more about Snowflake & different AWS services which can be used in Big Data with Cloud Computing , please refer this playlist :
• Demystifying Data Engi...

Пікірлер: 34
@adamurbas9185
@adamurbas9185 6 ай бұрын
couldn't figure out what made a lambda handler a post vs get http endpoint until watching this video. absolute legend. thanks man!
@KnowledgeAmplifier1
@KnowledgeAmplifier1 6 ай бұрын
Glad to hear the video is helpful to you @adamurbas9185! Happy Learning
@dev0pstech
@dev0pstech Жыл бұрын
Thank you brother, much appreciated , stuck on post request since two days. Thank you
@KnowledgeAmplifier1
@KnowledgeAmplifier1 Жыл бұрын
You are welcome DevOpsTech! Happy Learning
@partheshsoni2427
@partheshsoni2427 Жыл бұрын
Thank you for sharing your expertise and please keep up the fantastic work. This video is really helpful...
@KnowledgeAmplifier1
@KnowledgeAmplifier1 Жыл бұрын
Thank you Parthesh Soni! Stay Tuned & Happy Learning
@krishnasanagavarapu4858
@krishnasanagavarapu4858 2 жыл бұрын
Bro , thank you so much for making this concept clear
@KnowledgeAmplifier1
@KnowledgeAmplifier1 2 жыл бұрын
Glad it was helpful!
@satwipro
@satwipro 2 жыл бұрын
excellent work and brilliant way of illustrating concepts
@KnowledgeAmplifier1
@KnowledgeAmplifier1 2 жыл бұрын
Thank You Simranjit ! Happy Learning :-)
@worldsofgalaxy
@worldsofgalaxy Жыл бұрын
Superb understood lambda today .. Thanks 🙏🙏
@KnowledgeAmplifier1
@KnowledgeAmplifier1 Жыл бұрын
Glad to hear that FREEDOM! Happy Learning
@saptanilchowdhury1851
@saptanilchowdhury1851 Жыл бұрын
nice explaination of this video I done this practically it worked thanks
@KnowledgeAmplifier1
@KnowledgeAmplifier1 Жыл бұрын
Glad to gear that Saptanil Chowdhury! Happy Learning
@nitaypan1362
@nitaypan1362 2 жыл бұрын
Really very helpful for me so thank you so much 😊❤️
@KnowledgeAmplifier1
@KnowledgeAmplifier1 2 жыл бұрын
Glad to know the video was helpful to you nitay pan! Happy Learning :-)
@fiyatal
@fiyatal Жыл бұрын
i have lambda api and try to authentication with cognito. i have a login page after i take username and password should i forward data a post method and how can i forward the keys to my main api?
@danielotembo2983
@danielotembo2983 2 жыл бұрын
Keep up the great work!
@KnowledgeAmplifier1
@KnowledgeAmplifier1 2 жыл бұрын
Thank You Daniel Otembo! Happy Learning :-)
@aparnapodili
@aparnapodili Жыл бұрын
nice explanation sir
@KnowledgeAmplifier1
@KnowledgeAmplifier1 Жыл бұрын
Thannk you aparna podili! Happy Learning
@gregherren9790
@gregherren9790 11 ай бұрын
Very helpful, thanks!
@KnowledgeAmplifier1
@KnowledgeAmplifier1 10 ай бұрын
You're welcome!
@shubhammahure3530
@shubhammahure3530 2 ай бұрын
The reporting service (git repository) will have to trigger the backup lambda in case of successful execution of storing the data in . Trigger the restore lambda in case of unsuccessful execution. Acceptance Criteria Restore UDM from backup in case of failure Backup UDM after successful execution of reporting service batch execution can you provide me microservice code implementation.
@saivamsi441
@saivamsi441 2 жыл бұрын
great explanation :)
@KnowledgeAmplifier1
@KnowledgeAmplifier1 2 жыл бұрын
Thank You sai vamsi! Happy Learning :-)
@sagerking8908
@sagerking8908 2 жыл бұрын
thanks bro, it helps
@KnowledgeAmplifier1
@KnowledgeAmplifier1 2 жыл бұрын
Glad to know the video is helpful to you Sager King! Happy Learning :-)
@yogeetadevghare443
@yogeetadevghare443 Жыл бұрын
return is not working for giving output in console... What could be wrong
@KnowledgeAmplifier1
@KnowledgeAmplifier1 Жыл бұрын
Hello YOGEETA DEVGHARE, please check cloudwatch logs , it will give some idea ..
@MAHDEO
@MAHDEO 9 ай бұрын
Try code below : It should work !!! import json def lambda_handler(event, context): # Check if 'body' exists in the 'event' dictionary and is a valid JSON string if 'body' in event and isinstance(event['body'], str): try: # Parse the JSON data from the 'body' field body_data = json.loads(event['body']) # Check if 'country' exists in the parsed JSON if 'country' in body_data: country = body_data['country'] message = "I love my {}".format(country) return { 'statusCode': 200, 'body': json.dumps({'message': message}) } else: return { 'statusCode': 400, 'body': json.dumps({'error': 'Missing "country" in JSON data'}) } except json.JSONDecodeError: return { 'statusCode': 400, 'body': json.dumps({'error': 'Invalid JSON data in the request body'}) } else: return { 'statusCode': 400, 'body': json.dumps({'error': 'Missing or invalid "body" field in the event'}) }
@abduallahmustafa1029
@abduallahmustafa1029 Жыл бұрын
what about file?
@KnowledgeAmplifier1
@KnowledgeAmplifier1 Жыл бұрын
Hello Abduallah Mustafa, you can refer these 2 videos , there how to handle files with API Gateway is explained -- Serverless File Uploader with AWS HTTP Gateway and S3 - Step by Step Tutorial kzbin.info/www/bejne/Z2S2pKqmp76mfrM&feature=shares Downloading images form AWS S3 via Lambda and API Gateway kzbin.info/www/bejne/jXyUYnqioMmknMk&feature=shares Hope this will be helpful! Happy Learning
@abdulrafay1951
@abdulrafay1951 6 ай бұрын
It works on postman, but not on frontend such as react. AWS is pathetic af
Working With Query Parameters In API | API Gateway
14:11
Knowledge Amplifier
Рет қаралды 4,1 М.
Mama vs Son vs Daddy 😭🤣
00:13
DADDYSON SHOW
Рет қаралды 43 МЛН
Playing hide and seek with my dog 🐶
00:25
Zach King
Рет қаралды 34 МЛН
🤔Какой Орган самый длинный ? #shorts
00:42
Webhooks Processing: HTTP API Gateway + SQS +Lambda
13:02
Alex Rusin
Рет қаралды 14 М.
AWS Lambda Python functions with a database (DynamoDB)
25:12
pixegami
Рет қаралды 26 М.
AWS API Gateway to Lambda Tutorial in Python | Build a REST API
11:17
Be A Better Dev
Рет қаралды 336 М.
Create Your First AWS Lambda Function | AWS Tutorial for Beginners
12:44
Tiny Technical Tutorials
Рет қаралды 133 М.
تجربة أغرب توصيلة شحن ضد القطع تماما
0:56
صدام العزي
Рет қаралды 63 МЛН
Как бесплатно замутить iphone 15 pro max
0:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 8 МЛН
Это - iPhone 16 и вот что надо знать...
17:20
Overtake lab
Рет қаралды 137 М.
S24 Ultra and IPhone 14 Pro Max telephoto shooting comparison #shorts
0:15
Photographer Army
Рет қаралды 10 МЛН