Om

The RESTful Web Services module provides a framework for exposing REST resources on your site. It provides support for content entity types such as the main site content, comments, custom blocks, taxonomy terms, and user accounts, etc. (see the Field module help page for more information about entities). REST support for content items of the Node module is enabled by default, and support for other types of content entities can be enabled. Other modules may add support for other types of REST resources. For more information, see the online documentation for the RESTful Web Services module.

Bruker

Installerer støttemoduler
In order to use REST on a website, you need to install modules that provide serialization and authentication services. You can use the Core module HAL for serialization and HTTP Basic Authentication for authentication, or install a contributed or custom module.
Aktiverer REST-støtte for en entitetstype
REST support for content types (provided by the Node module) is enabled by default. To enable support for other content entity types, you can use a process based on configuration editing or the contributed REST UI module.
Du må også gi anonyme brukere tillatelse til å utføre hver enkelt av REST-operasjonene du ønsker skal være tilgjengelige, samt sette opp autentisering for å kunne godkjenne web forespørsler på riktig måte.
General
The RESTful Web Services and JSON:API modules serve similar purposes. Read the comparison of the RESTFul Web Services and JSON:API modules to determine the best choice for your site.