polling a web api
Unanswered
Spanish Mastiff posted this in #help-forum
Spanish MastiffOP
if I wanted to poll a web api and display results in a component, what’s the best way in 14/app router? User must be authenticated and need to add a private header. In 12 I’d had used an api route and fetch client side from component.