Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- login(username: String, password: String) {
- console.log("LOGIN SERVICE");
- const headers = new HttpHeaders({ "Content-Type": "application/json", });
- console.log( this.LOGIN_URL + "?username=" + username + "&password="+password );
- return this.http.post<String>(
- "http://localhost:8080/login" + "?username=" + username + "&password="+password,
- { headers: headers }
- );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement