Home How to give parameters for AWS Lambda functions from an android application?
Reply: 1

How to give parameters for AWS Lambda functions from an android application?

Baskaran Veerabathiran
1#
Baskaran Veerabathiran Published in 2018-02-14 05:36:25Z

I worked on chat bot android application using amazon lex, for that i have created lambda functions using java project jar. That java project have handler method it will call my REST API. The Rest API request needs some parameters (like username , email id), so how can i pass that id's from android application at run time? is it possible in amazon lex?

user4139197
2#
user4139197 Reply to 2018-02-14 05:42:17Z

You can pass your attributes via the body of you request in Json format. Then in your lambda function you can use JSON.parse(event.body); if you are using nodejs. If you are using pyhton or another language there will be an equivalent mehtod

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.359051 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO