API TEST

/user/self/read

api('/user/self/read')

/guest/auth/login

api('/guest/auth/login',{
	'email':'client@windowee.com',
	'password':'12345678'
}).then(r=>{localStorage.setItem('jwt',globalThis.jwt=r.token);return r})

/user/self/upload

api('/user/self/upload',new FormData(document.getElementById('form')))

REQUEST

 

RESPOSE