You are confusing different things. The form is the user interface.
With OkHttpUtils2, you need to make the same request as submitting the form. Forms can be implemented in many different ways.
Hi Erel,
My android mobile app consume an asmx webservice, this webservice implemented forms authentication (rather than basic authentication due to security request). I am looking for an approach to authenticate this asmx webservice from my android mobile app. I can of cause pay for the source code or Lib
Unfortunately, you said "Http library currently only supports basic and digest authentications."
As I wrote, there is no such thing form authentication. You need to find the actual http request that is sent when the user submits the form and make a similar request.