ADF: Passing a file attachment via a POST to a REST service using Azure Data Factory
I was recently doing work for a client where I needed to replace some Python code that was being used to upload a file attachment to a REST based service using a POST command. I was trying to do it using a Web Activity in Azure Data Factory. What was surprising was how little information I could find on how to do that.
While I can’t post all the code, I did want to post the core parts here in case it helps others, and for my own future reference. The basic steps involve:
2023-04-29