REST API GET/POST calls within Switch workflow via "Script Element"
Posted: Thu Nov 30, 2023 6:41 pm
Hello,
I am currently working on a project which requires calling an external System via REST API GET/POST calls. We currently have multiple SwitchScriptTool projects (using Visual Code) which utilize Axios HTTP request module. We are able to GET and POST within the Projects using Axios.
My question for the community:
How can we use the JS scripts produced by the Transpile function within a Switch Workflow (Script Element)? Has anyone successfully achieved this? If so, what modules were used?
Thanks in advance for any information provided.
Micah
I am currently working on a project which requires calling an external System via REST API GET/POST calls. We currently have multiple SwitchScriptTool projects (using Visual Code) which utilize Axios HTTP request module. We are able to GET and POST within the Projects using Axios.
My question for the community:
How can we use the JS scripts produced by the Transpile function within a Switch Workflow (Script Element)? Has anyone successfully achieved this? If so, what modules were used?
Thanks in advance for any information provided.
Micah