Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71530

Http get request with header

$
0
0

@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

Read full topic


Viewing all articles
Browse latest Browse all 71530

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>