I had the same problem.
The only answer I got from the PTC suport was : It is not currently possible to do that with Thingworx, but the R&D is working on it.
The only solution I see but that I did not test because of a lack of time is to create a custom widget button that would have you data as entry. Then, when it is pressed, you submit a form created on the fly with your data as parameter that you submit through a POST to a custom servlet that you would deploy on your tomcat server.
I tried to call a servlet from within a Thingworx service, don't waste your time, Thingworx will get the file but you won't be able to propagate it to the client browser.
How can I make MyFileRepository public?
In the sense, I wanted to make the URL accessible without authentication.
Right now, when I paste the above URL in browser, it prompts for username and password.
or can I pass authentication as URL parameters like"