m
This commit is contained in:
Vendored
+16
@@ -0,0 +1,16 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.FetchHelp = void 0;
|
||||
class FetchHelp {
|
||||
static post(url, body) {
|
||||
return fetch(url, {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
},
|
||||
body: JSON.stringify(body),
|
||||
});
|
||||
}
|
||||
}
|
||||
exports.FetchHelp = FetchHelp;
|
||||
//# sourceMappingURL=fetch_help.js.map
|
||||
Reference in New Issue
Block a user