{"action":"created","issue":{"url":"https://api.github.com/repos/MISP/MISP/issues/407","labels_url":"https://api.github.com/repos/MISP/MISP/issues/407/labels{/name}","comments_url":"https://api.github.com/repos/MISP/MISP/issues/407/comments","events_url":"https://api.github.com/repos/MISP/MISP/issues/407/events","html_url":"https://github.com/MISP/MISP/issues/407","id":57788771,"number":407,"title":"REST API not working with a JSON POST request","user":{"login":"Rafiot","id":248875,"avatar_url":"https://avatars.githubusercontent.com/u/248875?v=3","gravatar_id":"","url":"https://api.github.com/users/Rafiot","html_url":"https://github.com/Rafiot","followers_url":"https://api.github.com/users/Rafiot/followers","following_url":"https://api.github.com/users/Rafiot/following{/other_user}","gists_url":"https://api.github.com/users/Rafiot/gists{/gist_id}","starred_url":"https://api.github.com/users/Rafiot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rafiot/subscriptions","organizations_url":"https://api.github.com/users/Rafiot/orgs","repos_url":"https://api.github.com/users/Rafiot/repos","events_url":"https://api.github.com/users/Rafiot/events{/privacy}","received_events_url":"https://api.github.com/users/Rafiot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-16T10:41:48Z","updated_at":"2015-02-16T10:45:16Z","closed_at":null,"body":"If I try to sent a query on <URL>/events/restSearch/download, the output is always:\r\n{u'message': u'/events/restSearch/download', u'name': u'An Internal Error Has Occurred.'}\r\n\r\nQuery example:\r\n{\"from\": \"2015-02-15\", \"type\": \"ip-src\", \"value\": \"1.1.1.1\", \"to\": \"2015-02-16\"}\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/MISP/MISP/issues/comments/74489536","html_url":"https://github.com/MISP/MISP/issues/407#issuecomment-74489536","issue_url":"https://api.github.com/repos/MISP/MISP/issues/407","id":74489536,"user":{"login":"adulau","id":3309,"avatar_url":"https://avatars.githubusercontent.com/u/3309?v=3","gravatar_id":"","url":"https://api.github.com/users/adulau","html_url":"https://github.com/adulau","followers_url":"https://api.github.com/users/adulau/followers","following_url":"https://api.github.com/users/adulau/following{/other_user}","gists_url":"https://api.github.com/users/adulau/gists{/gist_id}","starred_url":"https://api.github.com/users/adulau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adulau/subscriptions","organizations_url":"https://api.github.com/users/adulau/orgs","repos_url":"https://api.github.com/users/adulau/repos","events_url":"https://api.github.com/users/adulau/events{/privacy}","received_events_url":"https://api.github.com/users/adulau/received_events","type":"User","site_admin":false},"created_at":"2015-02-16T10:45:16Z","updated_at":"2015-02-16T10:45:16Z","body":"As additional information: \"An Internal Error Has Occurred\" ->  Error: Fatal Error (1): Maximum execution time of 60 seconds exceeded in ../MISP/app/Lib/cakephp/lib/Cake/Model/Datasource/DboSource.php. \r\n"}}