Now I would like to download the files listed in the JSON response using HTTP request. But this part I'm struggling with. If it's only one file in the response there is no problem, but how should I handle several files?
This is how the JSON looks like:
Code: Select all
{"ls": [
{"filename": "test1.pdf", "size": 1867179, "can_inbox": true},
{"filename": "test2.pdf", "size": 1867179, "can_inbox": true}
{"filename": "test3.pdf", "size": 1867179, "can_inbox": true}
]}