I'm trying to call a (working) web api using angularjs2. But it says 'Collection not found'. It seems straightforward but still doesn't work. Please tell me what I am doing wrong here.
Asked
Active
Viewed 171 times
0
-
2Welcome to Stackoverflow. This question doesn't contain a lot of information. Please check the help menu how to ask good questions. Please add more information (code) about what you tried, where you failed, what error messages you got, ... – Günter Zöchbauer Apr 12 '16 at 15:38
-
2Please come up with code. show us what you have done so far. – micronyks Apr 12 '16 at 15:38
-
Did you get anywhere with this? – Rodney Nov 09 '16 at 21:08
1 Answers
0
Are you is the InMemoryDataService? If so, try commenting it out.
I had a similar issue calling my WebAPI. In the end I had to comment out the InMemoryDataService - as soon as I did this then the error went away and I was able to hit my WebAPI: AngularJS 2 : Getting data from json file not working