1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
Look at Proxy integrations. You need to define a greedy path using /{Proxy+}. This way you do not need to specify all routes in the API but rather specify one and let the Lambda function do the routing internally.
As an alternative you could create multiple routes and assign each one to a different function.
Contenus pertinents
- demandé il y a un an
- demandé il y a 6 mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a 3 ans
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 2 ans
After I added
ANY
/{proxy+}
route, every request (including the root request/
) returns{"message":"Internal Server Error"}
.I tried both
/{proxy+}
and/{Proxy+}
.Is your target invoked? If so, maybe it returns a malformed answer.