Skip to content

seblambla/starter-rest-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Starter REST Api

This is an example REST Api designed to be deployed on Cyclic.sh

Deploy to Cyclic

Examples

Create/Update - Insert/Upsert

curl -i https://localhost:3000/animals/rin%20tin%20tin \
    --data '{"breed":"German Shepard", "gender": "male"}' \
    -XPOST -H 'Content-Type: application/json'

Read All - List

curl -i https://localhost:3000/animals

Read

curl -i https://localhost:3000/animals/lassy

Delete

curl -i -XDELETE https://localhost:3000/animals/lassy

About

Cyclic REST API using dynamo single table storage

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%