Jun 21, 2017 09:38 PM
(This post was last modified: Jun 22, 2017 01:21 PM by datguy.dev.)
Greetings,
I'm taking on a new venture to learn some AWS services. So I'm trying to make a serverless API that is strictly Python. I've been struggling to merely wrap my head around just how Amazon AWS does things here ... the inputs and outputs ... it is a lot to take in quickly.
So there are these event and context objects that can be used. And I find them to be critical for the API. I got the API to take input parameters via the builtin event variable alright. But I'm getting this error with the context variable and I don't really understand the cause. I see what it wants (true false null), but that doesn't make sense for getting a source IP? Why is it passing "test?" Gah!... I've been searching and searching... Hard to find any direct Python related help with this. I could use a push in the right direction.
Image gallery of API setup and error: *snip
Main error image:
*snip
Full error output and logs: *snip
I'm taking on a new venture to learn some AWS services. So I'm trying to make a serverless API that is strictly Python. I've been struggling to merely wrap my head around just how Amazon AWS does things here ... the inputs and outputs ... it is a lot to take in quickly.
So there are these event and context objects that can be used. And I find them to be critical for the API. I got the API to take input parameters via the builtin event variable alright. But I'm getting this error with the context variable and I don't really understand the cause. I see what it wants (true false null), but that doesn't make sense for getting a source IP? Why is it passing "test?" Gah!... I've been searching and searching... Hard to find any direct Python related help with this. I could use a push in the right direction.
Image gallery of API setup and error: *snip
Main error image:
*snip
Full error output and logs: *snip
