# AWS lambda s3 Api gateway in nodejs

**URL:** <https://forum.serverless.com/t/aws-lambda-s3-api-gateway-in-nodejs/3983>\
**Category:** Serverless Framework\
**Created:** [March 12, 2018, 6:02am UTC](https://forum.serverless.com/t/aws-lambda-s3-api-gateway-in-nodejs/3983 "2018-03-12T06:02:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kuabh2012](https://avatars.discourse-cdn.com/v4/letter/k/22d042/32.png) [@kuabh2012](https://forum.serverless.com/u/kuabh2012)\
**Post date:** [March 12, 2018, 6:02am UTC](https://forum.serverless.com/t/aws-lambda-s3-api-gateway-in-nodejs/3983/1 "2018-03-12T06:02:44Z")

</div>

Hi ,  
can anyone help me to write my lambda code in Nodejs

I want to save response as content in file and put it into S3 . and that response generate when i press submit button in my website .

How i fetch response and send it to API Gateway ?

Here is workflow :-

press submit —\> call API gateway using ajax , Jqery ( inside my website html) -----\> invoke lambda function -----\> lambda function create file in s3 (content of the file is response generate in json)
