I am calling a REST endpoint which takes a file as multipart form-data as the body. Here is the postman CURL
curl --location --request POST 'https://assets-api-uat.test.services/api/upload' \--header 'Content-Type: multipart/form-data' \--header 'loadType: DELTA' \--header 'Authorization: Bearer {{accessToken}}' \--header 'Cookie: ARRAffinity=6d69fc278349240ce92e5954e0b0d0f1ee5c6964839ee2281238f950751dbfa5; ARRAffinitySameSite=6d69fc278349240ce92e5954e0b0d0f1ee5c6964839ee2281238f950751dbfa5' \--form 'upload=@"/C:/Users/test/Downloads/testhazards.zip"'
The above works fine.
I am trying to implement the above using Azure Data Factory as below
However the Azure Data Factory gives Bad Request error (400). How do I specify the "upload=filename" in the web activity?
Below is the changes based on the suggested answer