Channels
welcome
pulumi-cdk
cloudengineering
yaml
blog-posts
localstack
pulumi-ai
package-authoring
general
pulumiup-booth-support
oracle-cloud-infrastructure
learn-pulumi-events
linen
registry
built-with-pulumi
pulumi-cloud
contribex
testingtesting321
hacktoberfest
pulumi-crosscode
content-share
finops
multi-language-hackathon
office-hours
workshops
gitlab
pulumi-kubernetes-operator
jobs
pulumi-deployments
dotnet
aws
golang
announcements
java
pulumiverse
python
install
getting-started
cloudengineering-support
testingtesting123
hackathon-03-19-2020
typescript
google-cloud
contribute
azure
kubernetes
docs
automation-api
status
Powered by
#typescript
Title
e
echoing-zebra-28421
07/20/2021, 4:58 PM
How do I create the route that receives a parameter in the url of
/api/pets/$id
?
Could it be something like that?
routeKey: "GET /api/pets/{id}",
m
miniature-musician-31262
07/22/2021, 5:24 AM
Yep, that’s right —
{id}
, for example, with `awsx`:
🙌 1
Post