How to send parameters with special html tags in FormData with contentType false

问题描述 投票:0回答:0

只输入("Test", "code")这样的词时函数是正确的,但是当我添加("

")这样的特殊标签时,函数就失败了,我不知道是不是因为contentype,我已经尝试但失败了。 enter image description here

我通过以下方式将其发送给控制器 enter image description here

我尝试更改内容类型,所以我进入了控制器中的方法,但表单集合为空

c# jquery content-type form-data
© www.soinside.com 2019 - 2024. All rights reserved.