Update template

This commit is contained in:
Martin Polden 2018-02-10 18:04:23 +01:00
parent 148451b883
commit da3502d429

View File

@ -79,7 +79,7 @@ $ http {{ .Host }}/city
<pre>
$ http {{ .Host }}/json
{{ .JSON }}</pre>
<p>Setting the Accept header to application/json also works.</p>
<p>Setting the <code>Accept: application/json</code> header also works as expected.</p>
<h2>Plain output</h2>
<p>Always returns the IP address including a trailing newline, regardless of user agent.</p>
<pre>