@Hadi Chahine Welcome to QnA forum.
- Do you want to post the entire 150MB file to the API at once? or is it possible to post the payload to the API in Chunks?
- What is the size of the response from the API?
- Did you try outside of the ADF, such as Postman , traditional Web Apps to POST the Payload to the API endpoint?
- What is your motivation or requirement to use only ADF in this scenario?
Web activity in Azure Data Factory and Azure Synapse Analytics
Limitations and workarounds
Here are some limitations of the Lookup activity and suggested workarounds.
Data Factory limits
Some Related info: Payload is too large
***Error message: *The payload including configurations on activity/dataSet/linked service is too large. Please check if you have settings with very large value and try to reduce its size.
Cause: The payload for each activity run includes the activity configuration, the associated dataset(s), and linked service(s) configurations if any, and a small portion of system properties generated per activity type. The limit of such payload size is 896 KB as mentioned in the Azure limits documentation for Data Factory and Azure Synapse Analytics.
Recommendation: You hit this limit likely because you pass in one or more large parameter values from either upstream activity output or external, especially if you pass actual data across activities in control flow. Check if you can reduce the size of large parameter values, or tune your pipeline logic to avoid passing such values across activities and handle it inside the activity instead.