Skip to content
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.

In the API integrations api.yaml should $request.body.MessageBody be just $request.body? #38

Open
RhinoW opened this issue Jan 10, 2022 · 0 comments

Comments

@RhinoW
Copy link

RhinoW commented Jan 10, 2022

Couldn't get this working - always received "BadRequest" when calling API.
MessageBody: "$request.body.MessageBody"

MessageBody: "$request.body" worked OK and passed through as expected though.

Should this be $request.body or are you passing a MessageBody in payload when the calling api?

https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant