POST
/
dynamodb
/
{YOUR_DB_NAME}
/
create
Create
curl --request POST \
  --url https://7gzkqkjgcg.execute-api.us-east-2.amazonaws.com/stage/dynamodb/{YOUR_DB_NAME}/create \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "<string>",
  "name": "<string>"
}'
{
  "statusCode": 200,
  "body" {
  "msg": "Item added to table",
  "complete": true
}
}

Path

YOUR_DB_NAME
string
required
The name of the DynamoDB you want to interact with.

Body

id
string
required
The partition key for this element
name
string
required
What the id will map to

Response

statusCode
number
Based off of standard HTTP request guidelines
body
object
Information regarding your create request
{
  "statusCode": 200,
  "body" {
  "msg": "Item added to table",
  "complete": true
}
}