Hello @ri,shoshun ,
Thanks for the question and using MS Q&A platform.
REST API endpoints that the web activity invokes must return a response of type JSON.
I would suggest you use the HTTP connector.
HTTP connector is generic to retrieve data from any HTTP endpoint, e.g. to download file.
As per my repro, I used copy activity to copy PDF file from HTTP request to Blob storage.
Source dataset details:
Sink Dataset Details:
Hope this helps. Do let us know if you any further queries.
---------------------------------------------------------------------------
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.