subrequests.routing.yml 330 Bytes
Newer Older
Mateu Aguiló Bosch's avatar
Mateu Aguiló Bosch committed
1 2 3
subrequests.front-controller:
  path: '/subrequests'
  defaults:
4
    _title: 'Returns bulk execution of multiple requests'
Mateu Aguiló Bosch's avatar
Mateu Aguiló Bosch committed
5
    _controller: '\Drupal\subrequests\Controller\FrontController::handle'
6
  methods: [GET, POST]
Mateu Aguiló Bosch's avatar
Mateu Aguiló Bosch committed
7
  options:
8
    _auth: ['basic_auth', 'cookie', 'oauth2']
Mateu Aguiló Bosch's avatar
Mateu Aguiló Bosch committed
9 10
  requirements:
    _permission: 'issue subrequests'