@sandesh33 wrote:
baseUrl = 'https://developers.zomato.com/api/v2.1/search?entity_id=5&entity_type=city&sort=cost&order=asc';
headers :{ 'user-key' : '0c3b1b0774975e0280290d78aae415ec' }
i'm trying
this.http.get(baseUrl, headers).map(res => res.json());
but not working how do I suppose to write get data?
Thanks in advance!!
Posts: 2
Participants: 2