rest.routing.yml 318 B

123456789
  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'