# Add movie
INVOKE_URL=https://xria2h5hr4.execute-api.ap-southeast-1.amazonaws.com
curl \
-X PUT \
-H "Content-Type: application/json" \
-d '{"year": "2013", "title": "The Amazing Spider"}' \
${INVOKE_URL}/topmovies
# Get movie for a particular year
curl ${INVOKE_URL}/topmovies/2013
# Get listing
curl ${INVOKE_URL}/topmovies
# Delete movie for a particular year
curl -X DELETE ${INVOKE_URL}/topmovies/2013Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|