Tried to build an API using MongoDB Database for the very first time but the attempt wasn't fully successful. All I could build after much brainstorming was an Empty API.
It showed STATUS CODE: 200 ie OK, on the GET request. (but I wasn't able to post anything in the API, I need to figure out why.)
Attaching the screenshot of the API Test result done with the help of vs code extension - REST Client
Second Attempt at API Testing:
I decided to test my local API which i Build for the Task-4 of Keploy Fellowship (Although, it does not have a database connected to it)
200 OK response on the request to show the list of all animes from API?
200 OK response on request to show anime info with id=1?
200 OK response on request to show anime info with id=10? FAILS because out of limit (>6)
200 OK response PASS and response must have a body PASS
200 OK response FAILS and response must have a body FAILS
200 OK response FAILS and response must have a body PASS
200 OK response FAILS and response must have a body PASS and response time < 200ms PASS
200 OK response PASS and response must have a body PASS and response time < 200ms PASS
200 OK response FAIL and response must have a body FAIL and response time < 200ms PASS