HTTPS connection with basic auth result into Unauthorized

前端 未结 4 2000
名媛妹妹
名媛妹妹 2020-12-06 07:05

I am trying to access Basecamp API from my Android/Java source code following way ....

import org.apache.http.HttpResponse;
import org.apache.http.StatusLine         


        
4条回答
  •  Happy的楠姐
    2020-12-06 07:48

    If you like to use the HttpClient 4.x as mentioned in the other answers you could also use httpclientandroidlib. This is a converted stock HttpClient without apache.commons and with Android LogCat support.

提交回复
热议问题