error: “Collection not found” status: 404, statusText: “Not Found” in Angular

0
270
Angular

This example solves how to solve the error of Collection not found while calling Web API in Angular.

Collection not found while calling Web API in Angular

Solution

In the app.module.ts file remove the InMemoryWebApiModule for this service or class then run the code.
This will solve the issue of error of Collection not found while calling Web API in Angular.

LEAVE A REPLY

Please enter your comment!
Please enter your name here