邮递员在数组中传递原始json数据

时间:2020-09-24 02:53:41

标签: arrays postman webhooks

我目前有一个URI-http://example.com/restful_api/photo?access-token=xxx

Parameters: 

image[]: array

val[description]:string

使用PostMan Form Data对其进行测试可以完美地工作。但是,它不适用于原始数据json。

我也尝试了以下原始json代码,但无法正常工作:

Content-Type: application/json

{

"image": {["https://bucket-1.s3.ap-southeast-2.amazonaws.com/file/pic/photo/2020/09/b62bde83d011b33f49eca46b1c44ba03_1024.jpg"]},

"val": {"description":"here's the image"}

}

任何帮助将不胜感激。

0 个答案:

没有答案