Java使用 OkHttpClient

https://blog.csdn.net/u011727603/article/details/104849195

 

get:

OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder()
.url(url).get().build();
posted @ 2020-12-16 17:26  南方卖菜  阅读(3637)  评论(0编辑  收藏  举报