Closed sammyjava closed 10 months ago
What are the details of the request? Are there querystring parameters with the GET or data in the body of the POST? If there is, are the parameters invalid or valid?
Empty root request. As in checking to see if the service is up. Not a ginormous issue, I just think a 500 is an inappropriate response when the service is running. Normally that would come from Apache to let you know the service is down.
OK. I think the appropriate response here would be 400 (bad request) since required parameters are missing.
Oh, yeah, right, a 400 indeed.
Right now a GET or POST to https://services.lis.ncgr.org/gene_linkouts returns a 500, leading one to believe the server is down. It would be better to return a 404, or even a 200 with an error message in the JSON.