yyshiningyear commented on issue #3254: URL: https://github.com/apache/servicecomb-java-chassis/issues/3254#issuecomment-1201962891
1. body传递raw json 和三方服务接口的开发人员看了一下,他们接口里声明的consumer是“application/json”,所以在调用方传递 “text/plain”是不行的 2. 接收raw json格式的响应体 同样看了下三方服务的接口,他们使用的是 `@RestController` 注解,该注解默认会将返回pojo类型的接口的produces设置为 `application/json`,所以业务使用`text/plain`无法接收 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
