Help Needed:
The following error is happening: Cannot read property 'indexOf' of undefined at new HttpRequest (http.js:653) at HttpClient.request (http.js:1069) at HttpClient.get (http.js:1157)
This occurs when I use the get()
method from HttpClient like in this example:
this.http.get('api/link');
I have never used the indexOf
method in my code. What could be causing this issue?