Skip to content

100% Best Unlimited Private Proxies: Fast, Cheap and Secure

USA Private Proxy Servers – Buy Now!

Latest News

  • How to – Installing Workflow manager 1.0 CU2 refresh without connecting to internet – offline install
  • Other – 300€ & A$500 & $350 Google Adwords Accounts! | Proxies123.com
  • Binance has stopped withdrawals for Ethereum
  • formal languages – How to evaluate a Kleene’s Closure through CFG and attribute grammars
  • How to hide Android payload in image
  • I will Do 50 High Authority SEO Profile Backlinks for $4
  • How to find weight vector and bias term from a set of two coordinates?
  • microservices – How to connect a dockerized multi-container web application to an enterprise AWS ECS test environment?
  • theme development – How to create code template to promote products inside WordPress post
  • What Factors affect Google Auto Complete

Check JSON result at login with Angular 2x

My service to enter has:

enter (date: any): Observable {
console.log (data.email, data.senha);
(& # 39; $ {this.baseUrl} / `+ & # 39 ;? email = & # 39; +` $ {date.email} `+ & # 39; & password = & # 39; +` $ { date.senha} `);
}

And my "login" component the input button has:

()
this.jogadorService.entrar (this.user)
.subscribe (() => {
this.jogadorService.entrar (this.user);
alert (& # 39; Login made & # 39;);
//this.router.navigate (['/login'])
});
}

But he accepts any data. I wanted to check if the username and password exist and are the same. And if the empty JSON comes back {} Then show the message.

How can I do?

Taking advantage of the enthusiasm, if the result is correct, store the result in the LocalStorage.

Posted on November 27, 2018Author Proxies123Tags 2x, angular, check, JSON, login, result

Post navigation

Previous Previous post: c # – Representation of the template? – Stack Exchange game development
Next Next post: javascript: reduces the complexity of nesting time for looping
Proudly powered by WordPress

DreamProxies - Cheapest USA Elite Private Proxies 100 Private Proxies 200 Private Proxies 400 Private Proxies 1000 Private Proxies 2000 Private Proxies ExtraProxies.com - Buy Cheap Private Proxies Buy 50 Private Proxies Buy 100 Private Proxies Buy 200 Private Proxies Buy 500 Private Proxies Buy 1000 Private Proxies Buy 2000 Private Proxies ProxiesLive Proxies-free.com New Proxy Lists Every Day Proxies123