Hi,
My problem is that I don't know how to specify resource files using the REST API. In Workbench it is possible to specify local file or remote one, specify output file, etc. But I would like to do the same using the REST API. How to achieve that?
I can only create a resource with specified name but it is not connected with any data. I tried to specify local file using e.g. file:///Users/gosiaw/Documents/memtest.txt or file://localhost/Users/gosiaw/Documents/memtest.txt path, but I only get exception with information that:
The requested URL /workspace/projects/Gosia/resources/file://localhost/Users/gosiaw/Documents/memtest.txt was not found on this server.
How should I do it properly?
And how to specify remote files?
Best regards,
Gosia