Hi, do you mean to send the contents of the file in the API call? You could try the Enhanced JSON Tool Plugin at https://github.com/jogetoss/enhanced-json-tool which appears to support sending files in a POST method.
I use Enhanced JSON Tool but also pdf file not send through API and the response from API is failure