I want to upload a file to Web Server hosting Upload web service from ThingWorx, i came across service getXml but i cant use it for uploading. Is there any service available which i can use it to upload file on Web Service hosted on Tomcat Server ?
Try PostXML? Not sure if that server accepts a post of a file
Create a FileRepository Thing and use the SaveBinary service. You will need to pass the content in a format compatible with Blob, like encoding in base64.
Meghan,
I have crated the FileRepository Thing and identified the SaveBinary service.
Do you have an example of the RESTFul URL that accomplishes this? What is its method? How to append the binary content?
Assuming something starting with: https://myplatform.thingworx.com/Thingworx/Things/myRepositoryThing/Services/SaveBinary....and now some parms...
Any suggestions?
Thanks,