Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- postLogin() {
- var data = {
- client_id: "xxx",
- client_secret: "xxx",
- grant_type: 'password',
- username: this.username,
- password: this.password,
- };
- this.$api
- .post('/oauth/v2/token ', data)
- .then((response) => {
- this.handleResponse(response);
- })
- .catch((error) => {
- console.log(error);
- })
- },
Add Comment
Please, Sign In to add comment