From 1910bbcc64ac93c0a337d56a4227ca6bd01777a3 Mon Sep 17 00:00:00 2001 From: John Crepezzi Date: Thu, 12 Jun 2014 11:02:45 -0700 Subject: [PATCH] Updated POST api (markdown) --- POST-api.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/POST-api.md b/POST-api.md index 1bd847a..cf662d0 100644 --- a/POST-api.md +++ b/POST-api.md @@ -4,19 +4,19 @@ There are two ways to send data up to become a paste on a haste-server: #### Raw: -__POST__: /documents -__Content-type__: text/plain -__Request body__: contents of paste -__Response__: _See below_ +* __POST__: /documents +* __Content-type__: text/plain +* __Request body__: contents of paste +* __Response__: _See below_ #### Form Data: -__POST__: /documents -__Content-type__: multipart/form-data -__Request body__: A multipart form data encoded body, with a single key named "data" which holds the paste -__Response__: _See below_ +* __POST__: /documents +* __Content-type__: multipart/form-data +* __Request body__: A multipart form data encoded body, with a single key named "data" which holds the paste +* __Response__: _See below_ -For more detail on the how multipart form bodies should be structured, see: +NOTE: For more detail on the how multipart form bodies should be structured, see: http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4 ### What do I get back?