Skip to content

Commit 42a6df7

Browse files
Cameron-C-Chapmananishkny
authored andcommitted
docs(README): Fix path to include /api prefix. (#52)
1 parent 5e618b9 commit 42a6df7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ npm install
3434
npm run start
3535
```
3636

37-
This should start local DynamoDB emulator and Serverless offline. You can now make API calls against `http://localhost:3000` like this:
37+
This should start local DynamoDB emulator and Serverless offline. You can now make API calls against `http://localhost:3000/api` like this:
3838

3939
```
40-
curl http://localhost:3000/articles
40+
curl http://localhost:3000/api/articles
4141
42-
Serverless: GET /articles (λ: listArticles)
42+
Serverless: GET /api/articles (λ: listArticles)
4343
Serverless: The first request might take a few extra seconds
4444
Serverless: [200] {"statusCode":200,"headers":{"Access-Control-Allow-Origin":"*","Access-Control-Allow-Credentials":true},"body":"{\"articles\":[]}"}
4545
```

0 commit comments

Comments
 (0)