I currently have a URI - http://example.com/restful_api/photo?access-token=xxx

image[]: array

Testing it out with PostMan Form Data it works perfectly. However, it doesn’t work with raw data json.

I have tried the following raw json code as well but it’s not working:

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"}

Any help would be greatly appreciated.

Topics: api, rest api, photos
Be the first person to like this.