The binary data block to process. You can specify the binary data using either a base64-encoded string, or a multipart/form-data POST request.
Micro Focus recommends that you send a file as multipart/form-data in a POST request. For example, the following example uses the cURL application to send a file to a WavToText task:
curl –F Type=WavToText –F taskdata=@/home/johnDoe/audio.mp3 –F Out=test.ctm http://localhost:15000/?action=AddTask
If you use a base64-encoded string, Micro Focus recommends sending only short sections of audio to avoid exceeding the maximum permitted characters in the HTTP request.
Action: | AddTask
ResourceSelection |
Task: | |
Type: | String |
Default: | |
Example: | TaskData=@/home/johnDoe/audio.mp3
|
See Also: |
|