Skip to content

lvnvn/aws_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample REST API using AWS services configured with terraform.

schema


Saving mood entry

POST /mood

Parameters
name type data type description
mood required string N/A
email required string N/A
Responses
Example cURL
curl -H 'Content-Type: application/json' -X POST -d '{"mood":"happy","email":"user1@gmail.com"}' "https://232n1x2q39.execute-api.us-east-1.amazonaws.com/mood"

Reading mood entries

GET /mood

Parameters
name type data type description
email not required string N/A
Responses
Example cURL
curl -X GET "https://232n1x2q39.execute-api.us-east-1.amazonaws.com/mood"
curl -X GET "https://232n1x2q39.execute-api.us-east-1.amazonaws.com/mood?email=user@gmail.com"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published