美文网首页
使用OKHTTP

使用OKHTTP

作者: Share_joy | 来源:发表于2019-07-30 15:57 被阅读0次

1.打开OKHTTP官网https://square.github.io/okhttp/

2.此次想获取GIT第三方登录返回的code,所以使用OKHTTP中的POST方法

3.导入JAR包依赖,使用maven的话,直接导入即可。

<dependency>

<groupId>com.squareup.okhttp3</groupId>

<artifactId>okhttp</artifactId>

<version>4.0.1</version>

</dependency>

相关文章

网友评论

      本文标题:使用OKHTTP

      本文链接:https://www.haomeiwen.com/subject/gxunrctx.html