write data in another drupal website / rest
Try the following modules.

Drupal Sync


  This module allows synchronizing content among multiple websites.
  Supported entity types: node and taxonomy, menu items.
  
  Many hooks were used during creation of the module. It allows widening synchronization functional by developing additional modules.


Deploy


  The Deploy module is designed to allow users to easily stage content from one Drupal site to another. Deploy automatically manages dependencies between entities (like node references). It is designed to have a rich API which can be easily extended to be used in a variety of content staging situations.