Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- login ({commit}, authData) {
- fetch('/api/login', {
- username: authData.username,
- password: authData.password
- }, {
- mode: 'no-cors',
- method: 'post',
- url: `http://localhost:8088`,
- credentials: 'include'
- }) // ... goes on
- bodyUsed: false
- headers: Headers { }
- ok: true
- redirected: false
- status: 200
- statusText: "OK"
- type: "basic"
- url: "http://localhost:8080/api/login"
Add Comment
Please, Sign In to add comment