1
0
forked from PGL/Clyde

post Mock and corrections

This commit is contained in:
2024-04-22 13:29:59 +02:00
parent 490bf403f0
commit 2917d645fa
8 changed files with 21 additions and 12 deletions

View File

@ -27,6 +27,9 @@ export function restPatch(endPoint, data) {
return _rest(endPoint, {method: "PATCH", credentials: 'include', body: JSON.stringify(data)});
}
export function postMock(){
return restPost("/mock")
}
/**
* backbone for the request made by the frontend
*