Axios
May 30, 19
axios.post('http://127.0.0.1:8000/accounts/', {'protocol':'ETH', 'token': 'ETH', 'type':
0, 'balance': 0}, {withCredentials: true, auth: {username: 'admin@gmail.com', password: '1
23123123'}}).then(function(res){console.log(res)}).catch(function(ex){console.log(ex.respo
nse.data)});