--
1. 将请求参数转为json字符串形式,字符串编码统一为utf-8。 2. sign = MD5(json + secretKey)。 3. 将sign放到http请求头中(Sign: sign)。 4. 用post方式将json字符串作为参数,请求对应的接口。