rest.routing.yml
File
-
core/
modules/ rest/ rest.routing.yml
View source
- # @deprecated This route is deprecated, use the system.csrftoken route from the
- # system module instead.
- # @todo Remove this route in Drupal 9.0.0.
- rest.csrftoken:
- path: '/rest/session/token'
- defaults:
- _controller: '\Drupal\system\Controller\CsrfTokenController::csrfToken'
- requirements:
- _access: 'TRUE'
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.