{"action":"closed","issue":{"url":"https://api.github.com/repos/ropensci/fishbaseapi/issues/80","labels_url":"https://api.github.com/repos/ropensci/fishbaseapi/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/ropensci/fishbaseapi/issues/80/comments","events_url":"https://api.github.com/repos/ropensci/fishbaseapi/issues/80/events","html_url":"https://github.com/ropensci/fishbaseapi/issues/80","id":118689231,"number":80,"title":"Drop empty query parameters ","user":{"login":"sckott","id":577668,"avatar_url":"https://avatars.githubusercontent.com/u/577668?v=3","gravatar_id":"","url":"https://api.github.com/users/sckott","html_url":"https://github.com/sckott","followers_url":"https://api.github.com/users/sckott/followers","following_url":"https://api.github.com/users/sckott/following{/other_user}","gists_url":"https://api.github.com/users/sckott/gists{/gist_id}","starred_url":"https://api.github.com/users/sckott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sckott/subscriptions","organizations_url":"https://api.github.com/users/sckott/orgs","repos_url":"https://api.github.com/users/sckott/repos","events_url":"https://api.github.com/users/sckott/events{/privacy}","received_events_url":"https://api.github.com/users/sckott/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-24T19:49:51Z","updated_at":"2015-11-25T02:54:55Z","closed_at":"2015-11-25T02:54:55Z","body":"Some examples: \r\n\r\nexample 1\r\n\r\n```\r\n~$ http 'http://fishbase.ropensci.org/species?fields='\r\n\r\nHTTP/1.1 200 OK\r\nAccess-Control-Allow-Methods: HEAD, GET\r\nAccess-Control-Allow-Origin: *\r\nCache-Control: public, must-revalidate, max-age=60\r\nConnection: close\r\nContent-Length: 258\r\nContent-Type: application/json; charset=utf8\r\nDate: Tue, 24 Nov 2015 19:47:58 GMT\r\nServer: nginx/1.9.6\r\nStatus: 200 OK\r\nX-Content-Type-Options: nosniff\r\n\r\n{\r\n    \"count\": 0,\r\n    \"data\": null,\r\n    \"error\": {\r\n        \"message\": \"Mysql2::Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM `species`' at line 1: SELECT  FROM `species`\"\r\n    },\r\n    \"returned\": 0\r\n}\r\n```\r\n\r\nexample 2\r\n\r\n```\r\n~$ http 'http://fishbase.ropensci.org/taxa?limit='\r\n\r\nHTTP/1.1 200 OK\r\nAccess-Control-Allow-Methods: HEAD, GET\r\nAccess-Control-Allow-Origin: *\r\nCache-Control: public, must-revalidate, max-age=60\r\nCache-Hit: true\r\nConnection: close\r\nContent-Length: 92\r\nContent-Type: application/json; charset=utf8\r\nDate: Tue, 24 Nov 2015 19:49:38 GMT\r\nServer: nginx/1.9.6\r\nStatus: 200 OK\r\nX-Content-Type-Options: nosniff\r\n\r\n{\r\n    \"count\": 0,\r\n    \"data\": null,\r\n    \"error\": {\r\n        \"message\": \"invalid value for Integer(): \\\"\\\"\"\r\n    },\r\n    \"returned\": 0\r\n}\r\n```"}}