Description: Uploads a file to the Rulex Server.
The file to be uploaded to the server can be provided either:
using plain JSON text, where the body of the text must be as follows:
as a form-data key-value pair, where the "key" name is file. The header must have the following format: