'How to pass passwords trough api gateway securely?

I have a lambda function to signup users into a cognito userpool. I want to fusionate lambda with api gateway to make easier.

What is the safest way to send password, email and credentials trough api gateway?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source