Does anyone have an example on how to leverage the Cloud Web Services integration to post a file (usually a PDF but sometimes a JPG) to a third-party REST API? I believe I know how to handle the REST API side but I don't see how to "send" the file to the Web Services integration as the payload.
I would expect the payload to be something like this:
{
"filename" : "pdftotransfer.pdf",
"filedata" : ""
}
Where the filedata would be some sort of byte representation of the file. That's the part I cannot determine how to accomplish.
The alternative would be to send the REST API a full URL of the file in the Laserfiche repo but then I would have to deal with authentication somehow but if there are examples of that this would be acceptable as a second choice.
Thank you,
David Finkelstein