how to get the caller IP using amazon API gateway and Lambda in python

402
July 19, 2017, at 03:51 AM

I would like to get the caller ip in my Lambda function , i followed this and i have changed my body mapping in the integration request to look like this :

But my event object still does not have "requesterIp" in it.
Could anyone tell me what i'm missing out on?
thanks

Rent Charter Buses Company
READ ALSO
PyCharm: Cannot find reference 'xxx' in 'turtle.py'

PyCharm: Cannot find reference 'xxx' in 'turtle.py'

I try to draw a pentacle with built-in lib turtle

1003
Keras - Can my loss be a function of the model parameters?

Keras - Can my loss be a function of the model parameters?

I have noticed that in Keras, an optimizer takes a loss function of the form

316
How to enter an input,read an output and then enter output based on the received output to an exe file in python?

How to enter an input,read an output and then enter output based on the received output to an exe file in python?

I have been trying to create a python script which opens a exe file, enters an input, then reads an output, and based on the output that was received enter another input

296
Scrapy Splash Screenshots?

Scrapy Splash Screenshots?

I'm trying to scrape a site whilst taking a screenshot of every pageSo far, I have managed to piece together the following code:

557