Hi All,
I am working on an automation with Azure cognitive API which will need to submit an image file from local directory to Azure service. I am using
'Content-Type': 'application/octet-stream'
in request header of Invoke web service action in PAD, but did not find a way to compose the request body accepted by Azure service. I tried to use convert file to binary action for a selected JPG file and directly use the output in the request body.

However, there is an error "{"error":{"code":"InvalidImage","message":"The file submitted couldn't be parsed. This can be due to one of the following reasons: the file format is not supported ( Supported formats include JPEG, PNG, BMP, PDF and TIFF), the file is corrupted or password protected."}}". It highly appreciated that your experience can shed some light to it.