Commit 3eed558
Added JSONP support for client side AJAX requests. Many APIs (Vimeo and Google come to mind) support this type of access, and we wanted to support it for our service as well. It basically wraps the JSON with a callback function as defined by the client.
GitHub user SomethingOn implemented this on our REST API, and we thought others might benefit from it as well.1 parent 44364e3 commit 3eed558
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
811 | 812 | | |
812 | 813 | | |
813 | 814 | | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
814 | 821 | | |
815 | 822 | | |
816 | 823 | | |
| |||
0 commit comments