https://pulumi.com logo
#typescript
Title
# typescript
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