X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-json_post;a=blobdiff_plain;f=README.md;h=cc8b8acae2ed22c6745287a137b8f1bac1877636;hp=460ae5fe95675e23e090d313e121041ae40c0789;hb=b264452205b53ae10af326f56c3ca82201ecd886;hpb=2379b16341e17a1b0a75bc51f09c0178477522e5 diff --git a/README.md b/README.md index 460ae5f..cc8b8ac 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,13 @@ -# PECL :: json_post +# PECL :: json_post [![Build Status](https://travis-ci.org/m6w6/ext-json_post.svg?branch=master)](https://travis-ci.org/m6w6/ext-sjon_post) -JSON POST handler [![Build Status](https://travis-ci.org/m6w6/ext-json_post.svg?branch=master)](https://travis-ci.org/m6w6/ext-sjon_post) +JSON POST handler ## About -This tiny extension provides a PHP content type handler for "text/json" to PHP's -form data parser. If the `Content-Type` of an incoming request is `text/json`, -the JSON contents of the request body will by parsed into `$_POST`. +This tiny extension provides a PHP content type handler for JSON to PHP's +form data parser. If the `Content-Type` of an incoming request is `text/json` +or `application/json`, the JSON contents of the request body will by parsed +into `$_POST`. This extension does not provide any constants, functions or classes.