Why is Angular Http.get running at server and client's browser? #1616

Closed
opened 2025-08-09 17:20:56 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @felipedrumond on 5/18/2016

Why http.get('/api/albums/mostPopular') runs at serve and delivers the pre-renderized html, but my code bellow runs at the client's browser?

http.get('http://localhost://api/v1/listaprodutosservice/?term=bolsa&pagina=1&filtros=(724,691)&filtrovalor=0_0&quantidade=39&ordem=relevancia').subscribe(result => { this.lista = result.json(); });

Is there any way to run external gets running at server?

*Originally created by @felipedrumond on 5/18/2016* Why `http.get('/api/albums/mostPopular')` runs at serve and delivers the pre-renderized html, but my code bellow runs at the **client's browser**? `http.get('http://localhost://api/v1/listaprodutosservice/?term=bolsa&pagina=1&filtros=(724,691)&filtrovalor=0_0&quantidade=39&ordem=relevancia').subscribe(result => { this.lista = result.json(); });` Is there any way to run external gets running at server?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#1616
No description provided.