一.远程服务器返回错误: (400) 错误的请求错误 捕获异常查看具体错误 using Newtonsoft.Json; using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.IO; using System.Net; using System.Reflection; using S
我们在之前已经完成了cas4.2.x登录使用mongodb验证方式登录成功了.也解决了登录名中使用中文乱码的问题. 单点登录(十三)-----实战-----cas4.2.X登录启用mongodb验证方式完整流程 单点登录(十五)-----实战-----cas4.2.x登录mongodb验证方式实现自定义加密 单点登录(十六)-----遇到问题-----cas4.2.x登录成功后报错No principal was found---cas中文乱码问题完美解决 登录成功后我们在cas client客
//测试 请求接口 public function index(){ $arr = array('a'=>'555','b'=>56454564); $data=$this->post_json_data('http://www.test.com/public/index/api/postTest',json_encode($arr)); dump(json_decode($data['result'],true)); } //测试 接口 public function postTest