Send raw JSON.

This commit is contained in:
Mike Cao committed 2020-07-18 03:44:54 -07:00
1 parent 631d124a61
commit bb04015b46
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ function post(url, params) {
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify(params),
body: params,
}).then(res => res.json());
}