Skip to content

Commit

Permalink
docs: Fix documentation output (serverless#751)
Browse files Browse the repository at this point in the history
  • Loading branch information
trompette authored May 8, 2023
1 parent 045927c commit 2de6c34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aws-python-flask-dynamodb-api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ _Note_: In current form, after deployment, your API is public and can be invoked
After successful deployment, you can create a new user by calling the corresponding endpoint:

```bash
curl --request POST 'https://xxxxxx.execute-api.us-east-1.amazonaws.com/dev/users' --header 'Content-Type: application/json' --data-raw '{"name": "John", "userId": "someUserId"}'
curl --request POST 'https://xxxxxx.execute-api.us-east-1.amazonaws.com/users' --header 'Content-Type: application/json' --data-raw '{"name": "John", "userId": "someUserId"}'
```

Which should result in the following response:
Expand All @@ -88,7 +88,7 @@ Which should result in the following response:
You can later retrieve the user by `userId` by calling the following endpoint:

```bash
curl https://xxxxxxx.execute-api.us-east-1.amazonaws.com/dev/users/someUserId
curl https://xxxxxxx.execute-api.us-east-1.amazonaws.com/users/someUserId
```

Which should result in the following response:
Expand Down

0 comments on commit 2de6c34

Please sign in to comment.