dumbo/examples/basic-auth-nested
2024-09-08 09:24:05 +01:00
..
2024-09-08 09:24:05 +01:00

Basic Auth Nested Route Example

This example demonstrates how to use Basic authentication in Dumbo using nested routes (e.g. /api).

Running the Example

  1. Install dependencies:

    composer install
    
  2. Start the server:

    composer start
    
  3. Access the protected route:

      curl -u user:password http://localhost:8000