Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X
I'm working to create some container images for Thingworx and I'm looking for a way to script the import of Thingworx extensions, unfortunately the only documentation that I've found about that explains how to import using Composer. Is there any API or external call that I can do to import an extension?
Solved! Go to Solution.
I was able to import using the following command line on Command Prompt (it doesn't work on Powershell):
curl -u Administrator:<passwoprd> "http://localhost:8080/Thingworx/ExtensionPackageUploader?purpose=import" -H "X-XSRF-TOKEN: TWX-XSRF-TOKEN-VALUE" -F "file=@<extension.zip>"
I was able to import using the following command line on Command Prompt (it doesn't work on Powershell):
curl -u Administrator:<passwoprd> "http://localhost:8080/Thingworx/ExtensionPackageUploader?purpose=import" -H "X-XSRF-TOKEN: TWX-XSRF-TOKEN-VALUE" -F "file=@<extension.zip>"