您有一个重复的标头:
Content-Type 是关于您发送的内容,而 Accept 是关于您想要返回的内容。
所以您需要将其更改为
headers["Content-Type"] = "multipart/form-data"
headers["Accept"] = "application/json"
您有一个重复的标头:
Content-Type 是关于您发送的内容,而 Accept 是关于您想要返回的内容。
所以您需要将其更改为
headers["Content-Type"] = "multipart/form-data"
headers["Accept"] = "application/json"