{"action":"opened","issue":{"url":"https://api.github.com/repos/chriskacerguis/codeigniter-restserver/issues/401","labels_url":"https://api.github.com/repos/chriskacerguis/codeigniter-restserver/issues/401/labels{/name}","comments_url":"https://api.github.com/repos/chriskacerguis/codeigniter-restserver/issues/401/comments","events_url":"https://api.github.com/repos/chriskacerguis/codeigniter-restserver/issues/401/events","html_url":"https://github.com/chriskacerguis/codeigniter-restserver/issues/401","id":58200853,"number":401,"title":"Support JSONP","user":{"login":"jzafrilla","id":2435791,"avatar_url":"https://avatars.githubusercontent.com/u/2435791?v=3","gravatar_id":"","url":"https://api.github.com/users/jzafrilla","html_url":"https://github.com/jzafrilla","followers_url":"https://api.github.com/users/jzafrilla/followers","following_url":"https://api.github.com/users/jzafrilla/following{/other_user}","gists_url":"https://api.github.com/users/jzafrilla/gists{/gist_id}","starred_url":"https://api.github.com/users/jzafrilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jzafrilla/subscriptions","organizations_url":"https://api.github.com/users/jzafrilla/orgs","repos_url":"https://api.github.com/users/jzafrilla/repos","events_url":"https://api.github.com/users/jzafrilla/events{/privacy}","received_events_url":"https://api.github.com/users/jzafrilla/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-19T12:15:42Z","updated_at":"2015-02-19T12:15:42Z","closed_at":null,"body":"As you can pass \"format\" paramater, i would like to pass \"callback\" paramater for JSONP. Example result:\r\n\r\n\r\njsonCallback(\r\n    {\r\n        \"sites\":\r\n        [\r\n            {\r\n                \"siteName\": \"JQUERY4U\",\r\n                \"domainName\": \"http://www.jquery4u.com\",\r\n                \"description\": \"#1 jQuery Blog for your Daily News, Plugins, Tuts/Tips &amp; Code Snippets.\"\r\n            },\r\n            {\r\n                \"siteName\": \"BLOGOOLA\",\r\n                \"domainName\": \"http://www.blogoola.com\",\r\n                \"description\": \"Expose your blog to millions and increase your audience.\"\r\n            },\r\n            {\r\n                \"siteName\": \"PHPSCRIPTS4U\",\r\n                \"domainName\": \"http://www.phpscripts4u.com\",\r\n                \"description\": \"The Blog of Enthusiastic PHP Scripters\"\r\n            }\r\n        ]\r\n    }\r\n);\r\n"}}