-
-
Save uno-de-piera/ee6d7939731f79864ab4117aa3bc4416 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { URLSearchParams } from "@angular/http" | |
let body = new URLSearchParams(); | |
body.set('username', username); | |
body.set('password', password); | |
this.http.post(this.loginUrl, body) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment