Closed jenaye closed 6 years ago
we can follow this guid and prefix requests and same for token https://theinfogrid.com/tech/developers/angular/building-http-interceptor-angular-5/
Interceptor can edit request/response, i declare it 1 time, and no need to call it, he's called for every request/response in application
This feature need be added fast because when we running ng server -dev we got cannot get with 404status
cannot get
404
reproduce : Just npm start and go to localhost:4200 i'll have the error
npm start
localhost:4200
this bug isn't caused by service, we should delete every component, and activate 1 by 1 to know where is the problem
Finaly we understand why we got problem with /get 404, was caused by options in header
we can follow this guid and prefix requests and same for token https://theinfogrid.com/tech/developers/angular/building-http-interceptor-angular-5/
Interceptor can edit request/response, i declare it 1 time, and no need to call it, he's called for every request/response in application
This feature need be added fast because when we running ng server -dev we got
cannot get
with404
statusreproduce : Just
npm start
and go tolocalhost:4200
i'll have the error