We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d270c9b commit 0f006caCopy full SHA for 0f006ca
src/DevBetterWeb.Web/Pages/Admin/Videos/Create.cshtml
@@ -178,7 +178,8 @@
178
method: 'POST',
179
body: JSON.stringify(uploadVideoStartRequest),
180
headers: {
181
- 'Content-Type': 'application/json'
+ 'Content-Type': 'application/json',
182
+ 'RequestVerificationToken': document.querySelector('input[name="__RequestVerificationToken"]').value
183
}
184
})
185
.then(response => {
@@ -268,7 +269,8 @@
268
269
270
body: JSON.stringify(body),
271
272
273
274
275
276
0 commit comments