Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fetch('http://localhost:8080/login', {
- method: 'POST',
- headers: {
- 'Accept': 'application/json',
- 'Content-Type': 'application/json',
- },
- body: JSON.stringify({
- username: username,
- password: password,
- })
- }).then(
- value => {
- console.log('login:75: v ' + JSON.stringify(value));
- }
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement