Created blank theme for REST API, featured image not appearing on admin side

Worked for me,

add_action( 'after_setup_theme', 'headless_theme_setup' );
function headless_theme_setup() {
    add_theme_support( 'post-thumbnails',  array( 'post' ) );
}

enter image description here

WordPress version 5.0.2