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>
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
网友评论