Merge branch 'Chatte' into server

This commit is contained in:
2023-12-27 09:59:19 +01:00
10 changed files with 155 additions and 41 deletions

View File

@ -38,10 +38,11 @@ class Client
return this.logged;
}
async _get(uri)
async _get(uri, data)
{
let response = await fetch(this._url + uri, {
method: "GET",
body: JSON.stringify(data),
});
return response;
}