Drupal : Difference between webservice (api) implementation with REST and routing

by Hasina Njaratin   Last Updated May 22, 2020 22:07 PM

what are the real differences between these two methods of creating a webservice :

Routing (https://www.chapterthree.com/blog/custom-restful-api-drupal-8) REST plugin (https://www.drupal.org/docs/8/api/restful-web-services-api/custom-rest-resources) advantages/disadvantages of both?

I think we can create a restfull API with one as with the other, isn't it?

Thanks

Tags : plugins


Related Questions





Drupal V 7.39 plugin

Updated June 23, 2017 22:07 PM

Add fields to User entity in custom module

Updated September 17, 2016 09:03 AM