How do I create a post / page without needing get_header() and get_footer()?
To replace get_header(), copy the code from theme’s header.php into your page template, and to replace get_footer(), copy the code from theme’s footer.php into your page template.