Why is my API “not hitting”?—Understanding HTTP status codes
⚡Quick answer - When your application seems to “not hit” the API, check the HTTP status code in the response. Status codes beginning with 2xx confirm success, 3xx indicate redirection, 4xx point to a client-side issue, and 5xx reveal a server-side ...