You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2021/11/09 02:10:02 UTC

[GitHub] [servicecomb-java-chassis] x00384074 opened a new issue #2634: 上传文件接口edge调用微服务,是否可以支持接收MultipartFile+Object

x00384074 opened a new issue #2634:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2634


   问题场景:上传文件接口包含多个参数,而且参数还会不断变化,调用流程:edge->微服务,能否支持接收json并自动反序列化成Object对象
   如果有方案,如何配置?


-- 
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: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [servicecomb-java-chassis] x00384074 closed issue #2634: 上传文件接口edge调用微服务,是否可以支持接收MultipartFile+Object

Posted by GitBox <gi...@apache.org>.
x00384074 closed issue #2634:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2634


   


-- 
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: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [servicecomb-java-chassis] liubao68 commented on issue #2634: 上传文件接口edge调用微服务,是否可以支持接收MultipartFile+Object

Posted by GitBox <gi...@apache.org>.
liubao68 commented on issue #2634:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2634#issuecomment-968893114


   HTTP只能有一个body。 body的编码要么是Form(文件),要么是json。 不能出现body放文件和json并存的情况。 
   
   你可以使用header、query等参数。 


-- 
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: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [servicecomb-java-chassis] x00384074 commented on issue #2634: 上传文件接口edge调用微服务,是否可以支持接收MultipartFile+Object

Posted by GitBox <gi...@apache.org>.
x00384074 commented on issue #2634:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2634#issuecomment-969717810


   ok 多谢


-- 
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: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org