How to use Http methods of Angular2 with in-memory-web-api?
My company has currently started an application and we are using Angular2 as a front end choice. Since we still do not have back end part we are using in-memory-web-api . I have a json file located in assets folder of Angular2 structure and I have built CRUD using Http methods and Observables. If I comment out **in-memory-web-api** I am able to make a get request to all my objects of json file but I am not able to do a post, or get an object by parameter so I need "in-memory-web-api" .
If I use "in-memory-web-api" when I try to get all the objects of the json file I got the followin error
Collection 'product' not found