cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Import Extensions without Composer

Ivens
7-Bedrock

Import Extensions without Composer

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?

1 ACCEPTED SOLUTION

Accepted Solutions
Ivens
7-Bedrock
(To:Ivens)

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>"

 

View solution in original post

2 REPLIES 2

Hi @Ivens 

 

Check this Article 

 

/VR

Ivens
7-Bedrock
(To:Ivens)

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>"

 

Top Tags