You are here

jsonrpc.routing.yml in JSON-RPC 8

Same filename and directory in other branches
  1. 2.x jsonrpc.routing.yml

File

jsonrpc.routing.yml
View source
  1. jsonrpc.handler:
  2. path: '/jsonrpc'
  3. defaults:
  4. _controller: '\Drupal\jsonrpc\Controller\HttpController::resolve'
  5. methods: [POST, GET]
  6. requirements:
  7. _permission: 'use jsonrpc services'
  8. options:
  9. _auth: ['basic_auth', 'oauth2']