In python i could just do this but idk why

import requests
username = input('Username:')
password = input('Password')
req = requests.get('https://bundle-api.lankybox02.repl.co/account/login', json={'username': username, 'password': password})
if error in req.text:
   print('Error')
else:
   token = (req.text).get('token')
   print('Logged in.')

I think

View all comments