0

We are developing an android app which interacts with MVC based back end server, the communication between app and server implemented using HttpUrlConnection (get and post methods) is there a way where i can intercept all these request and add extra headers required for authentication at my back end ?

Anudeep
  • 83
  • 5

1 Answers1

0

You will need a higher level abstraction than HttpUrlConnection to have this kind of functionality. You can either implement your own wrapper for it, or use an existing REST client library (REST API Client Library for Android).

Community
  • 1
  • 1
pablochan
  • 5,625
  • 27
  • 42