Angular - HTTP Client
Consider this Angular interceptor code snippet:
What will be the exact value of the Authorization header in the outgoing HTTP request?
intercept(req, next) {
const token = 'abc123';
const modifiedReq = req.clone({ headers: req.headers.set('Authorization', `Token ${token}`) });
return next.handle(modifiedReq);
}What will be the exact value of the Authorization header in the outgoing HTTP request?
