mirror of
https://github.com/mpolden/echoip.git
synced 2024-11-10 07:27:22 +01:00
Update template
This commit is contained in:
parent
148451b883
commit
da3502d429
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user