Which OkHttp feature can add an Authorization header to every request automatically?
- Interceptor
- Converter
- Dispatcher
- Adapter
Answer
A) Interceptor
Interceptors modify requests and responses.
Computer Science MCQ · More Web Services: Accessing and Creating MCQs · Practise