aloc-endpoints
aloc-endpoints copied to clipboard
Empty question response
They have been empty data response for some of the subject and it's never noted in the documentation.
take a look at this response:
Response: #####################
--------------------------------------------------
{subject: economics, year: 2005, type: utme} {"subject":"economics","status":200,"data":[]}
@mathiasgodwin I will review and revert soon

Probably the URL was not structured well. The URL below gave me the response above
https://questions.aloc.ng/v2/q?subject=economics&year=2005&type=utme
![]()
Probably the URL was not structured well. The URL below gave me the response above
https://questions.aloc.ng/v2/q?subject=economics&year=2005&type=utme
Well, I can't really say but this is not the only subject with empty response and besides I tried this in 2 different programming languages and they all returned this empty result. I can share the code that produce such if you want.
Plus: some return questions not upto 40, if all this were noted in the documentation, we consumers would have prepared our code base to deal with such case. It has really been a great thing consuming your APIs but would be greater with those things fixed. Thanks
Please share the code with me. I will also look at the "40 questions" bug
Please share the code with me. I will also look at the "40 questions" bug
Alright, should I send it to the email on your git profile?
Please share the code with me. I will also look at the "40 questions" bug
Alright, should I send it to the email on your git profile?
Yes you can.