Is there a way to manipulate the response from an api resource on the WS serverside before it is made avaiable in body->settings and injected into the page.
I'm using an endpoint that does not support sorting:
https://api.utdanning.no/onet/onet_by_yrke and i would be great if i could do the sorting on the response before the data is sent to to the DOM in ws.
I could do the fetch with a script in an embed, but then i would have to insert the data into the dom myself? Or is there a way of doing this that is easier?