纽曼:数组而不是字符串

时间:2016-07-25 09:17:38

标签: javascript postman newman

我正试图在纽曼进行邮差测试。我的一个测试发送带有以下数据的POST请求:

{ 
  "additionalSizes": "[]",
  "brand": "Some Brand",
  "color": "#5484ed",
  "model": "Some Model",
  "size": "80",
  "sizeType": "eu",
  "type": "some type"
}

对于某些resosons,newman发送参数" size"作为数组("尺寸":{" 1":" 80"})而不是将其作为字符串发送("尺寸":&#34 ; 80")就像Postman一样。

0 个答案:

没有答案
相关问题