mirror of
https://github.com/mpolden/echoip.git
synced 2024-11-14 01:12:47 +01:00
Update template
This commit is contained in:
parent
148451b883
commit
da3502d429
@ -79,7 +79,7 @@ $ http {{ .Host }}/city
|
|||||||
<pre>
|
<pre>
|
||||||
$ http {{ .Host }}/json
|
$ http {{ .Host }}/json
|
||||||
{{ .JSON }}</pre>
|
{{ .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>
|
<h2>Plain output</h2>
|
||||||
<p>Always returns the IP address including a trailing newline, regardless of user agent.</p>
|
<p>Always returns the IP address including a trailing newline, regardless of user agent.</p>
|
||||||
<pre>
|
<pre>
|
||||||
|
Loading…
Reference in New Issue
Block a user