folder/template' could not be resolved to a valid file path.
Correct endpoint usage:
https://www.tohaastire.com/wp-html/v1/my-template - Loads template file my-template.hp.phphttps://www.tohaastire.com/wp-html/v1/folder/template - Loads folder/template.hp.phphttps://www.tohaastire.com/wp-html/v1/noswap/header-update - Loads noswap/header-update.hp.phpTemplate files (.hp.php) should be placed in:
/var/www/html/web/app/themes/sunauto-theme/hypermedia//var/www/html/web/app/themes/sunauto-theme/hypermedia//var/www/html/web/app/mu-plugins/api-for-htmx/hypermedia/hp_validate_request() - Validate nonce and requesthp_send_header_response($data, $action) - Send header-only responsehp_die($message) - Die gracefully with error messagehp_get_endpoint_url($template) - Get URL for templatehp_endpoint_url($template) - Echoes endpoint URL for template