summaryrefslogtreecommitdiffstats
path: root/core/modules/rest/rest.routing.yml
blob: ba7dd032bb76d2782f7584507108086af7b02340 (plain)
1
2
3
4
5
6
7
8
9
# @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'