Sorry my english.
Maybe not the most elegant way…. but it works for now…
add_action( 'save_post', 'save', 1000 );
function save()
{
global $post;
$post_types = get_post_type($post);
$index = sprintf('%s/wp-json/wp/v2/%s', get_site_url(), $post_types);
$item = sprintf('%s/wp-json/wp/v2/%s/%s', get_site_url(), $post_types, $post->ID);
$headers = ['Accept' => 'application/json'];
wp_remote_get($index, $headers);
wp_remote_get($item, $headers);
}