You are here

subrequests.routing.yml in Subrequests 3.x

Same filename and directory in other branches
  1. 8.2 subrequests.routing.yml
  2. 8 subrequests.routing.yml

File

subrequests.routing.yml
View source
  1. subrequests.front-controller:
  2. path: '/subrequests'
  3. defaults:
  4. _title: 'Returns bulk execution of multiple requests'
  5. _controller: '\Drupal\subrequests\Controller\FrontController::handle'
  6. methods: [GET, POST]
  7. options:
  8. _auth: ['basic_auth', 'cookie', 'oauth2', 'token_bearer']
  9. requirements:
  10. _permission: 'issue subrequests'