| 78 | | Except for the cabal and tarball files, all of the above URIs will either serve an HTML content-type, and POST requests will either be submitted as multipart/form-data or application/x-www-form-urlencoded. To use a different format, for example JSON, either send an Accept: application/json header, or indicate the format in the URL. This may be a simple ?format=json query, or a .json extension to any URL (see [http://code.reddit.com/wiki/API#FetchingInformation Reddit's API] for explanation). |
| | 78 | Except for the cabal and tarball files, all of the above URIs will serve an HTML content-type, and POST requests will be submitted either as multipart/form-data or application/x-www-form-urlencoded. To use a different format, for example JSON, either send an Accept: application/json header or indicate the format in the URL. This may be a simple ?format=json query, or a .json extension to any URL (see [http://code.reddit.com/wiki/API#FetchingInformation Reddit's API] for explanation). |