Auth


Login

        
fetch('https://fakegundamwikiapi.onrender.com/api/auth/login', {
      method: 'POST',
      body: JSON.stringify({
         username: "user",
         password: "user123"
      })
   })
   .then(res => res.json())
   .then(json => console.log(json);
         
    

Refresh Token

        
fetch('https://fakegundamwikiapi.onrender.com/api/auth/refreshToken', {
      method: 'POST',
      body: JSON.stringify({
         refreshToken: ""
      })
   })
   .then(res => res.json())
   .then(json => console.log(json));