Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
-H "Connection: close"
I got some messages (image attached)
When going to composer I try to find the extension but it is not there, so I guess I need to upload source control zip file too, could you please tell me how to do it, I mean what would be the command to upload the source, how to change the command and the url of the service xxx/Thingworx/xxxx ??
Finally could you please tell me how to validate if everything was correctly installed, Do I search ConsoleFramework in the composer installed extensions?
Solved! Go to Solution.
Hi @EM_9923519
A colleague was able to figure this out and I validated under 9.2.1. Here's the syntax:
curl -v "http://localhost:8080/Thingworx/ExtensionPackageUploader?purpose=import" -H "X-XSRF-TOKEN: TWX-XSRF-TOKEN-VALUE" -F "file=@PATH_TO_EXTENSION" -H "appKey: APPKEY_HERE"
Just update the sections in red.
Please let me know if you run into any problems.
Regards.
--Sharon
Hi @EM_9923519.
Have you tested to see if the extension installs when importing through Composer? What version of ThingWorx are you running?
Please let me know and I'll spend some time to test your method.
Regards.
--Sharon
I am using ThingWorx 8.5.3-b123 the extension does install when importing through Composer
Hi @EM_9923519
Here's an article that may help. Unfortunately, since the ThingWorx version you are running is out of support, I'm not able to test it on that release.
Please let me know how it goes.
Regards.
--Sharon
Hi @EM_9923519.
If you feel your question has been answered, please mark the appropriate response as the Accepted Solution for the benefit of others with the same question.
Regards.
--Sharon
Hi @EM_9923519
A colleague was able to figure this out and I validated under 9.2.1. Here's the syntax:
curl -v "http://localhost:8080/Thingworx/ExtensionPackageUploader?purpose=import" -H "X-XSRF-TOKEN: TWX-XSRF-TOKEN-VALUE" -F "file=@PATH_TO_EXTENSION" -H "appKey: APPKEY_HERE"
Just update the sections in red.
Please let me know if you run into any problems.
Regards.
--Sharon