diff options
| author | Andi Albrecht <albrecht.andi@gmail.com> | 2011-12-21 11:59:22 +0100 |
|---|---|---|
| committer | Andi Albrecht <albrecht.andi@gmail.com> | 2011-12-21 11:59:22 +0100 |
| commit | a66921a2b67ef725f31658697003c383e58a4236 (patch) | |
| tree | 53e26eb11e4b81ded9d59095f2befb9f4d427b81 /extras/appengine/sqlformat | |
| parent | 0761e1ce60955a4faa823f781586d1eda72aedba (diff) | |
| download | sqlparse-a66921a2b67ef725f31658697003c383e58a4236.tar.gz | |
Add note about content-type header.
Diffstat (limited to 'extras/appengine/sqlformat')
| -rw-r--r-- | extras/appengine/sqlformat/templates/api.html | 4 |
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> |
