In this article, I would like to present a method for uploading a collection of files to SDL WorldServer using the REST API.
The method takes three parameters:
The wsBaseUrl must be the <serverURL>:<portnumber> where your WorldServer instance is running.
The second parameter is a security token, which can be retrieved by using the SDL WorldServer REST API as explained here.
The third parameter is a Collection of File objects for upload.
The method returns a List of FileUploadResponse objects, one for each uploaded file, containing data from the uploaded asset. With this information, it is possible to create Projects in WorldServer using the REST API and place these assets through translation.
Click here to view the source code
Thank you so much for sharing this good article on file upload to SDL WorldServer using the REST API. Hostsailor It is completely a piece of new information for me. Looking forward to more good and new articles of this kind.