dotnet 6 minimal api with api gateway - How do I get the APIGatewayProxyRequest ? #1292
Answered by normj
michaelakin asked this question in Q&A
-
Hi, I have a dot net 6 minimal api lambda with the following. how can I get the APIGatewayProxyRequest stage variables from api gateway?
I am getting the following error with this set up:
|
Beta Was this translation helpful? Give feedback.
Answered by normj Aug 29, 2022
Replies: 1 comment 4 replies
-
If you are goal is to access the
We have talked about adding extension methods to the |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by michaelakin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
If you are goal is to access the
APIGatewayProxyRequest
object you can access it from theHttpContext.Items
collection. Here is an example.