Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pass Data to Step Function From HTTP API Gateway

I have a Step Function integration with one of my routes in API Gateway. My API is an HTTP API. It has the following settings:

StepFunctions

This is successfully invoking my StepFunction but I am unable to access any of my body parameters. This route is being invoked from a front-end form which submits data. I would like to use this data for further processing in my step functions.

When I see my step function execution, the input is just {}, is there something I need to change?

like image 612
ReactNewbie123 Avatar asked Feb 07 '26 07:02

ReactNewbie123


1 Answers

In the advanced settings set a value for "Input - optional" of "$request.body"

like image 57
Ryan Avatar answered Feb 08 '26 21:02

Ryan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!