Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid ayah gives 500 instead of 404 #74

Closed
ahmedre opened this issue Aug 15, 2016 · 3 comments
Closed

invalid ayah gives 500 instead of 404 #74

ahmedre opened this issue Aug 15, 2016 · 3 comments

Comments

@ahmedre
Copy link
Contributor

ahmedre commented Aug 15, 2016

if we request an invalid ayah, we get a 500. let's instead return a 404? for example, requesting /9/186 results in a 500 error on api

@ahmedre ahmedre changed the title /9/186 gives 500 invalid ayah gives 500 instead of 404 Aug 15, 2016
@atalebagha
Copy link

I'm going to give this a shot, but I don't have much experience in RoR

@Taym95
Copy link

Taym95 commented Jan 25, 2017

I want to contribute to this project i need database, how i can get it ?

@naveed-ahmad
Copy link
Collaborator

there is no such url like /9/186, do you mean /9/verses/186 ? again there were no endpoint in v2 for individual ayah. Closing it. @Taym95 you can email @mmahalwy to get db access.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants