网站设计需要哪些技术,自己做网站服务器,丹徒区建设局网站,专业的网站制作设计接⼝⽂档#xff1a; https://sendbird.com/docs 好久没写文章了 我在官网找到的pom, 下载不下来#xff0c;git下载下来#xff0c;打进项目里不能用#xff0c;就只能用简单的http了 直接上代码#xff0c;只是简单的调通代码#xff0c;根据你自己业务改#xff1a;… 接⼝⽂档 https://sendbird.com/docs 好久没写文章了 我在官网找到的pom, 下载不下来git下载下来打进项目里不能用就只能用简单的http了 直接上代码只是简单的调通代码根据你自己业务改 //创建用户 public static void main(String[] args) {// 接口url //{ application_id } 平台获取的appidString urlhttps://api- { application_id } .sendbird.com/v3/users;// 请求body JSONObject jsonObject new JSONObject();jsonObject.put(user_id, 用户id);jsonObject.put(nickname, 昵称);jsonObject.put(profile_url, https://sendbird.com/main/img/profiles/profile_05_512px.png);// 添加请求头信息 MapString, String heads new HashMap();// 使用json发送请求下面的是必须的heads.put(Content-Type, application/json);heads.put(Api-Token, 平台获取token);// 发送请求 HttpResponse response HttpRequest.post(url).headerMap(heads, false).body(String.valueOf(jsonObject)).timeout(5 * 60 * 1000).execute();// 打印结果 System.out.println( \u6253\u5370\u7ED3\u679C );System.out.println(response);} // 用户列表 public static void main(String[] args) {//平台获取的appidString urlhttps://api-{ application_id }.sendbird.com/v3/users;url ?limit3active_modeactivated;// 链式构建请求MapString,Object paramMap new HashMap();HttpResponse httpResponse HttpRequest.get(url).header(Api-Token, 平台获取的token)// 头信息多个头信息多次调用此方法即可.form(paramMap)//表单内容.timeout(1000).execute();int status httpResponse.getStatus();System.out.println(httpResponse.body());} 可以在后端注册im 剩下的操作在app端的sdk处理