How to relate an image to an article when posting the article in REST API
See https://www.drupal.org/project/drupal/issues/1927648, this is not supported yet in core.

You can try using https://www.drupal.org/project/better_normalizers to send it base64 encoded instead.