I have the following utility function which I use as a standard way of adding headers to an HTTP GET request.
const get1 =