Commit e7ee6865 authored by Taylor Otwell's avatar Taylor Otwell

Updating docs.

parent 0f0c291f
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
## 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 @@ By default, *null* will be returned if the input item does not exist. However, y ...@@ -44,6 +45,15 @@ By default, *null* will be returned if the input item does not exist. However, y
> **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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment