Add REST service to Drupal 7 site
Budget: $30 – $250 USD
I need to add a REST service to current Drupal 7 site. Basically my Drupal site needs to serve some data to other system.
The workflow should looks as follow:
1. Other system calls Drupal endpoint with some parameters.
2. Based on received parameters Drupal site creates a node.
3. If the node is created correctly the Drupal site sends node id in response to the call from point 1.
What needs to be done:
- enable REST service
- create one endpoint
- create an action which creates a new node based on parameters received in endpoint call
- create a REST response with node ID in its body
- add error handling to this process
The workflow should looks as follow:
1. Other system calls Drupal endpoint with some parameters.
2. Based on received parameters Drupal site creates a node.
3. If the node is created correctly the Drupal site sends node id in response to the call from point 1.
What needs to be done:
- enable REST service
- create one endpoint
- create an action which creates a new node based on parameters received in endpoint call
- create a REST response with node ID in its body
- add error handling to this process