16 lines
427 B
JavaScript
16 lines
427 B
JavaScript
"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
|