Http get header authentication


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:

or include them as URL parameters:

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