Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var json={
- usuario : this.nome,
- senha : this.senha
- };
- var myJson=JSON.stringify(json);
- console.log(json);
- return this.http.post(this.url,JSON.stringify(json))
- .map(res=> res.json())
- .subscribe(data =>{
- console.log(data);
- });
Add Comment
Please, Sign In to add comment