Content type 'multipart/form-data;boundary=----…;charset=UTF-8' not supported

后端 未结 5 2292
误落风尘
误落风尘 2021-01-01 21:35

I want to send an object to the controller that has several lists with files and several fields with plain text.

public class ContributionNew

        
5条回答
  •  情话喂你
    2021-01-01 22:04

    In Postman, you need to set the body to be of type raw, and from the drop down you can select JSON, I had a similar issue, this fixed my issue.

    view screen here

提交回复
热议问题