Send raw JSON.
This commit is contained in:
@@ -18,7 +18,7 @@ function post(url, params) {
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
body: JSON.stringify(params),
|
||||
body: params,
|
||||
}).then(res => res.json());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user