summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Parecki <aaron@parecki.com>2015-01-02 13:21:54 -0800
committerAaron Parecki <aaron@parecki.com>2015-01-02 13:21:54 -0800
commit7071565345cf00ffcc942947e941f59b5093476b (patch)
treee7c5cbd243e34abddd2ef74056b71e5d2565f51c
parent87a76f495eb3126e6d3adb5bf675fdb41682a16d (diff)
use php array syntax in docs
-rw-r--r--views/docs.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/views/docs.php b/views/docs.php
index 94856a1..63d0ce1 100644
--- a/views/docs.php
+++ b/views/docs.php
@@ -46,10 +46,10 @@ Authorization: Bearer xxxxxxxxxx
HTTP/1.1 200 OK
Content-type: application/x-www-form-urlencoded
-syndicate-to=syndicate-to=twitter.com%2Faaronpk%2Cfacebook.com%2Faaronpk
+syndicate-to[]=twitter.com%2Faaronpk&syndicate-to[]=facebook.com%2Faaronpk
</code></pre>
- <p>The response should be a form-encoded reply with a single field, <code>syndicate-to</code>. The value is a comma-separated list of syndication targets. The actual values are up to your Micropub endpoint, but a good convention is to use the domain name of the service (e.g. twitter.com), or domain name and username (e.g. twitter.com/aaronpk).</p>
+ <p>The response should be a form-encoded reply with an array, <code>syndicate-to</code> of all the supported syndication targets. The actual values are up to your Micropub endpoint, but a good convention is to use the domain name of the service (e.g. twitter.com), or domain name and username (e.g. twitter.com/aaronpk).</p>
<p>If you do include the domain name, Quill will be able to show icons for recognized services next to the checkboxes.</p>
@@ -57,4 +57,4 @@ syndicate-to=syndicate-to=twitter.com%2Faaronpk%2Cfacebook.com%2Faaronpk
-</div> \ No newline at end of file
+</div>