I am trying to preload data in an application that uses the TMDB API
The way I would like to preload it is using a Link types: preload
So something similar to this:
<link
rel="preload"
as="fetch"
type="application/json"
href="https://api.themoviedb.org/3/genre/movie/list"
crossorigin
/>
The issue is that the API seems to require a Bearer Token, or so I understand from the official TMDB documentation
Is it possible to add the authentication header to the link tag at the head of the document, or the outgoing request?