There was an error while loading. Please reload this page.
1 parent 748fbd2 commit 3300c01Copy full SHA for 3300c01
src/deployFrontend/static/main.js
@@ -13,7 +13,7 @@ $('#submit').click(function(e) {
13
14
var ajaxRequest = $.ajax({
15
type: "POST",
16
- url: `${API_ENDPOINT}/new-item`,
+ url: `${API_ENDPOINT}/newItem`,
17
data: JSON.stringify(inputData),
18
contentType: "application/json",
19
dataType: "text",
0 commit comments