it works like that, i am using it with got , a node.js library for making requests with javascript

so this is how i made it (you make a post request)

import got from "got";

const { token } = await got
  .post("https://api.wasteof.money/session", {
    json: {
      username: "account",
      password: "password",
    },
  })
  .json();
View all comments