Build your first AWS Lambda function and attach an endpoint using AWS Api-gateway !

import requests
url = "https://ryv7b6l14f.execute-api.us-east-2.amazonaws.com/default/myFirstLambdaFunction"
r = requests.post(url,data={'key1':'value1', 'key2':"value2", 'key3':'value1'})
print(r)
print(r.json())

--

--

--

Data Scientist with a majors in Computer Vision. Love to blog and share the knowledge with the data community.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Innovation using Git

https://www.youtube.com/watch?v=Tq-7wsCmswE&list=PLoU9HeOpZ8eOeuL_zKiLW1OILAg_By8PB

March 2022 Sneak Peek

Door looking out onto a field

5 Tips for Embedding Tables in Your Medium Posts

Backup your Linux Installation now

How to: Organize a Full-remote Workshop (or any event)

So you want to learn HTML and CSS

AWS 201: Learning About The Default VPC

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Shekhar Khandelwal

Shekhar Khandelwal

Data Scientist with a majors in Computer Vision. Love to blog and share the knowledge with the data community.

More from Medium

Creating AWS Lambda Function Via Console

AWS Lambda : Read from S3:Python

Trigger AWS Lambda using API Gateway to access EC2 instance

Get HTTPS 🔐! How to Get SSL\TLS Certificate in AWS for EC2 Hosted Application.