This repository was archived by the owner on May 21, 2025. It is now read-only.
This repository was archived by the owner on May 21, 2025. It is now read-only.
pathParameters in apigateway-http-api-proxy event are not recognized #209
Open
Description
I was expecting that in apigateway-http-api-proxy if the rawPath = /somepath/orderscheduling/{scheduleOrderGUID}
I want scheduleOrderGUID to get substituted with value = "some-guid-value-here"
so in the event json I provided as
"pathParameters": {
"scheduleOrderGUID": "some-guid-value-here"
},
Thinking that scheduleOrderGUID will get substituted by some-guid-value-here.
However it does not. The path that reaches the mux is unsubstituted.
So I tried to take a look in the code however I did not find any mention of pathParameters in the go code. (There is code for putting in queryParameters ....but no code for pathParameters)
Is this correct?
How does one use the pathParameters object in the input event json ?
Please help
Metadata
Metadata
Assignees
Labels
No labels