Posts by Nicole Oliveira • 1 point
1 post
-
0
votes1
answer664
viewsA: How to consume an API using Angular 6?
All you have to do is subscribe: enviarEmail(form){ this.appService.sendEmail(form).subscribe(response => { // retorno do http.post }); } Read more about http requests with Angular on:…