我目前有一个 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"}
}
任何帮助将不胜感激。