Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- axios.post("http://localhost:8080/oauth/access_token", 'grant_type=password&username='+username+'&password='+password,
- { headers: {
- 'Authorization': 'Basic ' + btoa("clientid:clientsecret"),
- 'Content-Type': 'application/x-www-form-urlencoded,charset=UTF-8'
- }
Add Comment
Please, Sign In to add comment