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

Import Extensions without Composer

Ivens
5-Regular Member

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
5-Regular Member
(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
Velkumar
17-Peridot
(To:Ivens)

Hi @Ivens 

 

Check this Article 

 

/VR

Ivens
5-Regular Member
(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>"

 

Announcements