Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {"content": [{"id": 1, "nomebd": "teste", "email": "hue@nada.com"}, {"id": 2, "nomebd": "oi", "email": "oi"}, {"id": 3, "nomebd": "joao", "email": "tg"}, {"id": 4, "nomebd": "joao1", "email": "tg1"}, {"id": 5, "nomebd": "kkkkk", "email": "kkk"}, {"id": 6, "nomebd": "dae", "email": "dae"}, {"id": 7, "nomebd": "coe", "email": "coe"}, {"id": 8, "nomebd": "dadadad", "email": "dadadadada"}]}
- this.service.getConfig()
- .subscribe(dados => this.cursos = dados)
- getConfig() {
- return this.http.get<Curso[]>(this.url)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement