Skip to content
Magenaut

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

aws-api-gateway

Submitting HTTP request from HTML to AWS API gateway

November 13, 2022 by Magenaut

I have a HTML form with a button which allows me to send HTTP requests in “text/plain” or “application/x-www-form-urlencoded” format.

Categories HTML, Q&A Tags amazon-web-services, aws-api-gateway, html, json Leave a comment

AWS API Gateway WebSocket API: how to use it with React / NodeJS / native WebSocket?

October 10, 2022 by Magenaut

I am building my app:

Categories Node.js, Q&A Tags amazon-web-services, aws-api-gateway, node.js, reactjs, websocket Leave a comment

Unable to parse the request object

October 10, 2022 by Magenaut

From, my postman, I’m passing the following in the Body as raw JSON

Categories Node.js, Q&A Tags amazon-web-services, aws lambda, aws-api-gateway, javascript, node.js Leave a comment

Can an AWS Lambda function call another

October 8, 2022 by Magenaut

I have 2 Lambda functions – one that produces a quote and one that turns a quote into an order.
I’d like the Order lambda function to call the Quote function to regenerate the quote, rather than just receive it from an untrusted client.

Categories Node.js, Q&A Tags amazon-web-services, aws lambda, aws-api-gateway, node.js Leave a comment

AWS lambda api gateway error “Malformed Lambda proxy response”

October 8, 2022 by Magenaut

I am trying to set up a hello world example with AWS lambda and serving it through api gateway. I clicked the “Create a Lambda Function”, which set up the api gatway and selected the Blank Function option. I added the lambda function found on AWS gateway getting started guide:

Categories Node.js, Q&A Tags amazon-web-services, aws lambda, aws-api-gateway, node.js Leave a comment

How can I retrieve a user’s public IP address via Amazon API Gateway + Lambda (node)

October 6, 2022 by Magenaut

I’m currently writing a Node.js lambda function, in which I want to log the incoming requester’s public IP address. I’ve been looking through both the API Gateway and Lambda docs all day, but haven’t found a solution.

Categories Node.js, Q&A Tags amazon-web-services, aws lambda, aws-api-gateway, node.js Leave a comment

AWS Lambda fails to return PDF file

October 6, 2022 by Magenaut

I have created a lambda function using serverless. This function is fired via API Gateway on a GET request and should return a pdf file from a buffer. I’m using html-pdf to create the buffer and trying to return the pdf file with the following command

Categories Node.js, Q&A Tags amazon-web-services, aws-api-gateway, lambda, node.js, serverless-framework Leave a comment

How to Access header in AWS Lambda?

October 1, 2022 by Magenaut

I am using AWS Api Gateway.
I have created resource and method using API Gateway.

Categories Node.js, Q&A Tags amazon-web-services, aws lambda, aws-api-gateway, node.js Leave a comment

AWS Lambda: Clarification on retrieving data from event object

October 1, 2022 by Magenaut

At the moment I think I have a foundational misunderstanding of how to extract/pass data from lambda functions & I’m seeking clarification

Categories Node.js, Q&A Tags amazon-web-services, aws lambda, aws-api-gateway, javascript, node.js Leave a comment

Is there a best approach to deploy an architecture to send SMS using a Microservice model?

September 28, 2022 by Magenaut

We have a service within a Backend class, the service looks like:

Categories Node.js, Q&A Tags amazon-sns, amazon-web-services, aws lambda, aws-api-gateway, node.js Leave a comment
Older posts
Page1 Page2 Next →

Recent Comments

  • silverplugins217 on How to add placeholder for contact form7 for dropdown?
  • Shreyas Ikhar on How to add a custom CSS class to core blocks in Gutenberg editor?
  • Magenaut on How to call function on timer ASP.NET MVC
  • Ebaad Uddin on How to call function on timer ASP.NET MVC
  • michealSmith07 on Is there a way to dynamically refresh the less command?

Tags

.net adobe-illustrator adobe-photoshop ajax arrays asp.net asp.net-core asp.net-mvc bash c# css database django eloquent express html java javascript jquery json laravel laravel-4 laravel-5 laravel-8 linux list mongodb mongoose mysql node.js npm pandas php python python-3.x react-hooks react-native react-router reactjs redux regex sql string typescript wordpress
© 2023 Magenaut • Built with GeneratePress