diff --git a/net/addr/app/templates/usage.html b/net/addr/app/templates/usage.html index 668408a..93c5bde 100644 --- a/net/addr/app/templates/usage.html +++ b/net/addr/app/templates/usage.html @@ -9,7 +9,7 @@
URL | Behavior | |
---|---|---|
{{ request.base_url }} | +{{ scheme }}://{{ request.headers['host'] }}/ | Displays HTML and "Human" formatting if in a graphical browser, otherwise returns a raw, unformatted JSON string. |
{{ request.base_url }}?raw=1 | +{{ scheme }}://{{ request.headers['host'] }}/?raw=1 | Renders a raw, unformatted JSON string if in a graphical browser, otherwise no effect. All other parameters ignored (if in a graphical browser). |
{{ request.base_url }}?html=1 | +{{ scheme }}://{{ request.headers['host'] }}/?html=1 | Forces HTML rendering on non-graphical clients. |
{{ request.base_url }}?json=1&tabs=4 | +{{ scheme }}://{{ request.headers['host'] }}/?json=1&tabs=4 | Returns JSON indented by 4 spaces for each level (you can leave "json=1" off if it's in a non-graphical browser, unless you specified "html=1"). |