Multipart Upload API Test

42 views
Skip to first unread message

drew dimanlig

unread,
Apr 15, 2016, 12:11:27 PM4/15/16
to API Craft
 Has anyone had to test an api call that does a multipart upload using a json object instead of a file?

I'm trying to test an api call that does a multipart upload using a json object instead of a file. Here is an example of the json that gets passed in a parameter named jsonpayload:

{ "videos": [{ "remote_url": "https://s3.amazonaws.com/testing/test_videos/video.mp4" }], "text": "groups", "author": { "alias": "testing", "token": "1456167795" }, "groups": ["custom"] ,"tags":["tagged"]}

We are currently using restassured, but we may be switching to javascript based framework like Frisby.

Thanks

Reply all
Reply to author
Forward
0 new messages