Json BigCommerce[{“状态”:415,“消息”:指定的输入内容类型无效

Json BigCommerce[{“状态”:415,“消息”:指定的输入内容类型无效,json,postman,bigcommerce,Json,Postman,Bigcommerce,尝试在BigCommerce上使用邮递员创建产品规则。我对BC的所有其他查询都很好,但在这个问题上,我收到了 [{"status":415,"message":"The specified input content type is not valid."}] 即使身体是空的,看起来也不重要 电话: 标题: X-Auth-Client:XXXXXXXXXXXXXXXXXXXXX X-Auth-Token:xxxxxxxxxxxxxxxxxxxxxxxx 接受:应用程序/json 内容类型:a

尝试在
BigCommerce
上使用邮递员创建产品规则。我对BC的所有其他查询都很好,但在这个问题上,我收到了

[{"status":415,"message":"The specified input content type is not valid."}]
即使身体是空的,看起来也不重要

电话:

标题:

X-Auth-Client:XXXXXXXXXXXXXXXXXXXXX
X-Auth-Token:xxxxxxxxxxxxxxxxxxxxxxxx
接受:应用程序/json
内容类型:application/json


我发现问题出在邮递员身上。
Postman在幕后将内容类型:application/json更改为multipart/form数据

有一个您用于api请求的主体示例将帮助其他人进行测试,看看他们是否得到相同的结果