import { restGet, restPost } from './restConsumer.js' export async function login(user, pass, exp){ restPost("/login", {login: user, password: pass, expiration: exp}) }