Since Drupal 8, provides out of box web service support, I can utilize that.
Let’s explore more about Web-Services with Drupal 8.
What is REST?
REST is the principal way to access & manipulate data in Drupal 8 via using HTTP.
Find out more about Drupal 8 Web Services API on below link