Skip to content

Commit

Permalink
Update add-an-api-to-create-a-note.md (#772)
Browse files Browse the repository at this point in the history
Fixing route
  • Loading branch information
smokeyblues authored Dec 6, 2024
1 parent 2edeada commit cdf7245
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _chapters/add-an-api-to-create-a-note.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ api.route("POST /notes", "packages/functions/src/create.main");

We are doing a couple of things of note here.

- We are creating an API using SST's [`Api`]({{ site.sst_url }}/docs/component/apigatewayv2/){:target="_blank"} component. It creates an [Amazon API Gateway HTTP API](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api.html){:target="_blank"}.
- We are creating an API using SST's [`Api`]({{ site.sst_url }}/docs/component/aws/apigatewayv2){:target="_blank"} component. It creates an [Amazon API Gateway HTTP API](https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api.html){:target="_blank"}.

- We are [linking]({{ site.sst_url }}/docs/linking/){:target="_blank"} our DynamoDB table to our API using the `link` prop. This will allow our API to access our table.

Expand Down

0 comments on commit cdf7245

Please sign in to comment.