Skip to content

Commit 7f60f63

Browse files
change POST to PUT
1 parent 0cd98e1 commit 7f60f63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

http/HTTPClient.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export class HTTPClient {
107107
async saveNewMap(mindMap, path = "libraries/demo/map") {
108108
const url = path;
109109
const options = {
110-
method: "POST",
110+
method: "PUT",
111111
headers: {"Content-Type": "application/json"},
112112
body: JSON.stringify({map: mindMap})
113113
}

0 commit comments

Comments
 (0)