Skip to content

Instantly share code, notes, and snippets.

@bharat-tiwari
Created December 24, 2018 15:45
Show Gist options
  • Save bharat-tiwari/ebb71c5e59f2441757cece09fca56e45 to your computer and use it in GitHub Desktop.
Save bharat-tiwari/ebb71c5e59f2441757cece09fca56e45 to your computer and use it in GitHub Desktop.
notewordy API - mock test data to test update endpoint
{
"body": "{ \"word\": \"stranger-1\", \"meaning\": \"someone whom you don't know or who doesn't belong in a specific place\", \"example\": \"Don't talk to strangers.-1\" }",
"requestContext": {
"identity": {
"cognitoIdentityId": "TEST-LOCAL-USER-A"
}
},
"pathParameters": {
"id": "replace-this-with-the-id-of-an-item-you-have-in-your-dynamoDb-table"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment