You are here

http_client_manager_example.routing.yml in HTTP Client Manager 8

modules/http_client_manager_example/http_client_manager_example.routing.yml

File

modules/http_client_manager_example/http_client_manager_example.routing.yml
View source
  1. http_client_manager_example.find_posts:
  2. path: 'find-posts/{postId}'
  3. defaults:
  4. _controller: '\Drupal\http_client_manager_example\Controller\ExampleController::findPosts'
  5. _title: 'Find posts'
  6. postId: null
  7. requirements:
  8. _permission: 'access content'
  9. http_client_manager_example.create_post:
  10. path: 'create-post'
  11. defaults:
  12. _controller: '\Drupal\http_client_manager_example\Controller\ExampleController::createPost'
  13. _title: 'Create post'
  14. requirements:
  15. _permission: 'access content'