summaryrefslogtreecommitdiff
path: root/extras/appengine/sqlformat
diff options
context:
space:
mode:
authorAndi Albrecht <albrecht.andi@gmail.com>2011-12-21 11:59:22 +0100
committerAndi Albrecht <albrecht.andi@gmail.com>2011-12-21 11:59:22 +0100
commita66921a2b67ef725f31658697003c383e58a4236 (patch)
tree53e26eb11e4b81ded9d59095f2befb9f4d427b81 /extras/appengine/sqlformat
parent0761e1ce60955a4faa823f781586d1eda72aedba (diff)
downloadsqlparse-a66921a2b67ef725f31658697003c383e58a4236.tar.gz
Add note about content-type header.
Diffstat (limited to 'extras/appengine/sqlformat')
-rw-r--r--extras/appengine/sqlformat/templates/api.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/extras/appengine/sqlformat/templates/api.html b/extras/appengine/sqlformat/templates/api.html
index f2859c2..2b32cbb 100644
--- a/extras/appengine/sqlformat/templates/api.html
+++ b/extras/appengine/sqlformat/templates/api.html
@@ -18,7 +18,9 @@
The server accepts various options to control formatting. Only
the <em>data</em> option is required. All others are optional.<br />
Either use <code>GET</code> and pack the options in the query string
- or <code>POST</code> and submit your parameters as form data.
+ or <code>POST</code> and submit your parameters as form data.<br />
+ When using <code>POST</code> make sure your request includes a
+ <em>Content-Type: application/x-www-form-urlencoded</em> header.
</p>
<dl>