I tried to create .ps1 file to document library by "Web Request" action but it didn't work.
May I know what’s wrong with my workflow? Thanks!
First, I get the Digest value.
URL: https://mysharepoint.com/my_site/_api/contextinfo

Then, the create action:

Result:

