Http get header authentication


#1

Hi all,

I am new to ionic and was wondering how to call an API in HTTP headers, this need to be done to pull through data from my api, the methods are:

X-Yummly-App-ID:app-id
X-Yummly-App-Key:app-key
or include them as URL parameters:
_app_id=app-id&_app_key=app-key

I have managed to pull JSON from a hosted file but cannot seem to get the auth working, help would be appreciated!