Environment Variable in Serverless
Hello, quick question, how do I pass environment variables in a request for serverless endpoint? Espcially assign them with a value dynamically while sending a request.
Solution:Jump to solution
Modify your handler to read the data from request payload instead of environment variables.
3 Replies
Already answered you in #🎤|general , you should post to 1 place only and not multiple places.
You can't pass environment variables at request level, they are done at template level.
Solution
Modify your handler to read the data from request payload instead of environment variables.
Thank you, that worked