Created
July 24, 2023 14:21
-
-
Save imtrinity94/396bbcf675eb5d28d99dcbb4e7a62bbe to your computer and use it in GitHub Desktop.
If you go with the API route then I suggest to use a polyglot action in the language of your choice. The context object in the polyglot containers hold an API and a token to make callbacks to itself. Then you can use the appropriate REST libs for the given language to do what you want. I have a simple action that just returns the url and token t…
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def handler(context, inputs): | |
outputs = { | |
"vcoUrl": context['vcoUrl'], | |
"token": context['getToken']() | |
} | |
return outputs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment