diff --git a/main/go.code-workspace b/main/go.code-workspace new file mode 100644 index 0000000..78d6565 --- /dev/null +++ b/main/go.code-workspace @@ -0,0 +1,12 @@ +{ + "folders": [ + { + "path": "../../../../workspaces/go" + }, + { + "name": "EgnyteWebHookHandler", + "path": ".." + } + ], + "settings": {} +} \ No newline at end of file diff --git a/webhook.ps1 b/webhook.ps1 new file mode 100644 index 0000000..70d438a --- /dev/null +++ b/webhook.ps1 @@ -0,0 +1,11 @@ +$header = @{'Authorization' = 'Bearer 9cht7d3p565qnk3nbh3xbj7e'} +$body = '{ + "url":"https://api.mpe.ca/egnytewebhook", + "eventType": [ + "fs:add_folder", + "fs:move_folder", + "fs:copy_folder" + ], + "path": "/Shared/MPE_Dev_Testing/FolderCreation" +}' +