Skip to content

AWS lambda function to perform basic mathematical calculations

Notifications You must be signed in to change notification settings

unaizafaiz/lambdacalculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Lambda Calculator

By Unaiza Faiz(651052450)

Description:

Created a calculator lambda function that adds, subtracts, multiplies and divides two operators. Deployed the lamda function on AWS and built a RESTful API for the the calculator lambda function using AWS API Gateway.

To clone the repository

git clone git@bitbucket.org:unaizafaiz/unaiza_faiz_hw6.git

Steps to invoke the RESTful API

  1. Open browser
  2. Type in the URL "https://tfepd2yxg0.execute-api.us-east-1.amazonaws.com/test/calculator"
  3. In order to perform an operation 3 arguments need to be passed: op1 (operator1), op2 (operator2) and opnd (operand)
  4. Example:
Challenges:

The Add operation works when testing the gateway but does not recognize the operand using the URL! Please see screenshot attached.

About

AWS lambda function to perform basic mathematical calculations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages