Forum Discussion
Copy Activity
I'm trying to perform the copy activity from a site that appears to be running DNN. The file link appears to be a __doPostBack. (Post activity). Deeper investigation seems that there's a __RequestVerficationToken being used, but I can't seem to find this being passed back in the Web Activity, with all the other tokens that have been discussed throughout all the other forums.
How do I go about handling this within Azure Data Factory with no code?
3 Replies
- AnonymousNot applicable
Hi MHsquared ,
You can create a web activity and fill in the __doPostBack and __RequestVerification Token parameters in the Body.
If the response is a file download link, you can use the Copy Data activity to download the file. If the response is in JSON or another data format, you can use a Set Variable activity or a ForEach activity to further process it.Best Regards,
Adamk KongIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- MHsquaredNew Member
Anonymous
So my problem is I can't figure out how to get the __RequestVerification token, can you explain to me how to get this token from Azure's Web Activity?
It appears to be a Cross-Site Request Forgery (CSRF) token that isn't visible in the "output" of the web activity, so I can't I figure out how to extract it from any way in the response of the Web Activity.
Thank you for your assistance.
- MHsquaredNew Member
Does anyone have an idea on how to accomplish a Copy command from sites hosted by a DNN (the old DotNetNuke) and based on Microsoft's original IBS ASP.net development that uses CSRF as many government sites are using DNN to host their data, and thus making impossible to use Azure's no code options.