目录 一、Forest设置请求头 一、Forest设置请求头 @Post(url = "/hello", dataType = "json") @Headers({"encryptKey:${encryptKey}"}) JSONObject hello(@JSONBody HelloDTO helloDTO, @Var("encryptKey") String encryptKey); encryptKey以方法参数的形式传入,写入到请求头中