about summary refs log tree commit diff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md18
1 files changed, 14 insertions, 4 deletions
diff --git a/README.md b/README.md
index d925d8d..f49d182 100644
--- a/README.md
+++ b/README.md
@@ -23,11 +23,21 @@ A `200` status code will be returned, with an IP in the body, if:
 A `302` status code will be returned, with no body, if:  
 - The last request to use the auth value comes from the same IP address
 
-You may specify a `Content-Type` of `application/json` or `text/plain`. Example
-responses are below:
+There are multiple `Content-Type`s supported. Below is a list of types and
+example responses. If you do not provide a `Content-Type`, plaintext is assumed.
 
 **`application/json`**  
-`{"ip": "127.0.0.1"}`
+```json
+{"ip": "127.0.0.1"}
+```
 
 **`text/plain`**  
-`127.0.0.1`
\ No newline at end of file
+```
+127.0.0.1
+```
+
+**`application/xml`**  
+```xml
+<?xml version="1.0" encoding="utf-8"?>
+<ip>1.1.1.1</ip>
+```
\ No newline at end of file