Updating docs.
This commit is contained in:
parent
0f0c291ffb
commit
e7ee6865b1
|
@ -3,6 +3,7 @@ # Input & Cookies
|
||||||
## Contents
|
## Contents
|
||||||
|
|
||||||
- [Input](#input)
|
- [Input](#input)
|
||||||
|
- [JSON Input](#json)
|
||||||
- [Files](#files)
|
- [Files](#files)
|
||||||
- [Old Input](#old-input)
|
- [Old Input](#old-input)
|
||||||
- [Redirecting With Old Input](#redirecting-with-old-input)
|
- [Redirecting With Old Input](#redirecting-with-old-input)
|
||||||
|
@ -44,6 +45,15 @@ #### Determining if the input contains a given item:
|
||||||
|
|
||||||
> **Note:** The "has" method will return *false* if the input item is an empty string.
|
> **Note:** The "has" method will return *false* if the input item is an empty string.
|
||||||
|
|
||||||
|
<a name="json"></a>
|
||||||
|
## JSON Input
|
||||||
|
|
||||||
|
When working with JavaScript MVC frameworks like Backbone.js, you will need to get the JSON posted by the application. To make your life easier, we've included the `Input::json` method:
|
||||||
|
|
||||||
|
#### Get JSON input to the application:
|
||||||
|
|
||||||
|
$data = Input::json();
|
||||||
|
|
||||||
<a name="files"></a>
|
<a name="files"></a>
|
||||||
## Files
|
## Files
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue