Skip to content
Zotonic
  • Start
  • Cookbook
  • Reference
  • Releases

Live search

Search across all Zotonic content

Type at least two characters

Results are matched against titles, summaries and topics as you type.

Controllers · mod_base
  • Reference
  • Backend developer
  • API and integration
  • Controller
  • HTTP

controller_ping

Module

mod_base

Simple controller for connection tests, used on the /test/connection page.

It always responds with the four character string pong. The ususal path is: /.zotonic/ping

Edit on GitHub

Related documentation

Controllers

controller_api

controler_api processes authorized REST API requests: It provides an easy way to create API calls to allow computer programs to perform…

Controllers

controller_csp_report

Controller handling Content-Security-Policy reports.

Notifications

observe_middleware/3

Delegates the request processing.

Controllers

controller_http_error

This controller is called for serving http error pages.

Controllers

controller_file

Serve an uploaded-, resized- or library file.

Controllers

controller_mqtt_transport

Controller for transport of MQTT data between the browser (client) and server.

Controllers

controller_keyserver_key

Publish the site's RSA encryption public key as JavaScript.

Controllers

controller_nocontent

Return an empty HTTP 204 No Content response.

Notifications

observe_url_fetch_options/2

Determine the URL fetch options for fetching the content of an URL. Used by z_fetch.erl.

GitHub © 2026 Zotonic