You are here

rest.routing.yml in Drupal 8

core/modules/rest/rest.routing.yml

File

core/modules/rest/rest.routing.yml
View source
  1. # @deprecated This route is deprecated, use the system.csrftoken route from the
  2. # system module instead.
  3. # @todo Remove this route in Drupal 9.0.0.
  4. rest.csrftoken:
  5. path: '/rest/session/token'
  6. defaults:
  7. _controller: '\Drupal\system\Controller\CsrfTokenController::csrfToken'
  8. requirements:
  9. _access: 'TRUE'