Fix JSONP example

pull/92/head
Emmanuel еΜanwʬĔbdƎv 11 years ago
parent 6b6397764d
commit bf7a3d3475

@ -693,7 +693,7 @@ Flight::json(array('id' => 123));
For JSONP requests you, can optionally pass in the query parameter name you are using to define your callback function:
```php
Flight::json(array('id' => 123), 'q');
Flight::jsonp(array('id' => 123), 'q');
```
So, when making a GET request using `?q=my_func`, you should receive the output:

Loading…
Cancel
Save