Browser -> your server route -> server calls API -> server renders HTML -> htmx swaps it?As someone else mentioned, having your own server backend act as an intermediary between your front end and the API that serves JSON is probably the most straightforward solution to keep everything HTMX-y.