Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- X-Session →1948c514b7e5669c284e85d6f612f9bd491
- X-Session-Expiry →2038-08-02T09:19:03+00:00
- login(username, password) {
- const data = {
- username: username,
- password: password
- };
- const headers = new HttpHeaders();
- headers.set('Content-Type', 'application/json');
- return this.http.post(this.login_url, data, { headers: headers });
- }
Add Comment
Please, Sign In to add comment