Closed chunxueer closed 7 years ago
Thanks , I do it ,it's working ...
app.module.ts
providers: [
AuthService,ServerURLInterceptor,
provideInterceptorService([
ServerURLInterceptor
])
authservice.ts
constructor(private http: InterceptorService ) { }
I have some services using HTTP, I want to modify the request before post, how do I use it? Thank you !
my code can't work .
AuthService.ts
server.url.interceptor.ts
app.module.ts