Java使用hutool工具类发送http请求

Java使用hutool工具类发送网络请求

 

 result = HttpUtil.createGet("https://api.yonyoucloud.com/apis/dst/Search/search").addHeaders(header).form(map).execute().body();

  

 

https://blog.csdn.net/qq_41903017/article/details/116529206?spm=1001.2101.3001.6661.1&utm_medium=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7ECTRLIST%7ETopBlog-1.topblog&depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7ECTRLIST%7ETopBlog-1.topblog&utm_relevant_index=1

posted @ 2022-04-06 15:14  A汉克先生  阅读(2575)  评论(0编辑  收藏  举报