I had an issue getting ngMockapi working w/Angular CLI.
Could not select scenario [individual] thrown
I found that the proxy config (Step 3 in the Angular CLI instructions) only proxies requests that match "/api/*" to the mock data server.
It seems that requests generated from the ngMockapi API (like selectScenario()) also need to be proxied to the mock data server. The sample proxy config in the instructions doesn't include this.
In my case, I had to add an entry for ngapimock (see snippet). After that it seemed to work fine.
I had an issue getting ngMockapi working w/Angular CLI.
I found that the proxy config (Step 3 in the Angular CLI instructions) only proxies requests that match "/api/*" to the mock data server.
It seems that requests generated from the ngMockapi API (like selectScenario()) also need to be proxied to the mock data server. The sample proxy config in the instructions doesn't include this.
In my case, I had to add an entry for ngapimock (see snippet). After that it seemed to work fine.
Can you add that to the instructions? Or please advise if I'm missing something.