GPS-Mobile-Tracking-App
GPS-Mobile-Tracking-App copied to clipboard
Post api is not running when i submit the user add form
core.js:6185 ERROR TypeError: Cannot read property 'post' of undefined at BackendService.setUser (backend.service.ts:59)
this is my error in console
constructor(private http: HttpClient) { }
error in this line
Error NullInjectorError: No provider for HttpClient!
constructor() { } private http: HttpClient;
if i declare as above the route is loading but post api is not working