摘要:
get 普通请求: restemplate.getForEntity(url,String.class).getBody(); get 导出请求: restemplate.getForEntity(url, byte[].class); put 请求:参数是实体类 HttpEntity<String 阅读全文
摘要:
问题描述: nginx代理的ip直接访问可以直接下载文件,但是通过nginx访问就报502,nginx错误日志:upstream sent invalid chunked response while reading upstream(在上游读取时发送了无效的分块响应); 解决办法: 在nginx配 阅读全文