MapComplete/src/test.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
395 B
TypeScript
Raw Normal View History

2023-09-15 01:16:33 +02:00
import { Utils } from "./Utils"
2023-09-15 01:16:33 +02:00
class Test {
public async test() {
await Utils.waitFor(0)
const response = await fetch("http://localhost:1235/layers/atm/atm.json", {
method: "POST",
headers: {
"Content-Type": "application/json;charset=utf-8",
},
body: JSON.stringify({}),
})
}
2023-03-28 05:13:48 +02:00
}
2023-09-15 01:16:33 +02:00
new Test().test()