# mod\_base dispatch rules (dispatch-test)

Source: https://zotonic.com/docs/2249/mod_base-dispatch-rules-dispatch-test

URI: https://zotonic.com/id/2249

Language: en

URL dispatch rules defined by mod_base in apps/zotonic_mod_base/priv/dispatch/dispatch-test.

This file defines the URL dispatch rules for `mod_base`. Rules are matched from top to bottom; the first matching rule handles the request.

Source: `apps/zotonic_mod_base/priv/dispatch/dispatch-test`

This set is stored in the `dispatch-test` dispatch file.

::: {.table-responsive}
| Dispatch name     | Path                          | Controller                                                                       | Options                                                      |
| ----------------- | ----------------------------- | -------------------------------------------------------------------------------- | ------------------------------------------------------------ |
| `initial_test`    | `/test/initial_postback_test` | <a class="dispatch-controller-link" href="/id/doc_controller_controller_template"><code>controller_template</code></a> | `[{template,"tests/initial_postback_test.tpl"},seo_noindex]` |
| `connection_test` | `/test/connection`            | <a class="dispatch-controller-link" href="/id/doc_controller_controller_template"><code>controller_template</code></a> | `[{template,"tests/connection_test.tpl"},seo_noindex]`       |
| `chart_test`      | `/test/chart`                 | <a class="dispatch-controller-link" href="/id/doc_controller_controller_template"><code>controller_template</code></a> | `[{template,"tests/chart_test.tpl"},seo_noindex]`            |
:::

License: 

Attribution: 

Related resources: https://zotonic.com/api/agent/related/2249?language=en


## API access

- [API help](<https://zotonic.com/api-help>)
- [OpenAPI specification](<https://zotonic.com/openapi.json>)
- [This resource as JSON](<https://zotonic.com/api/agent/resource/2249?language=en>)
