'Upload multiple file on Moodle API

Currently, I use core_files_upload API to upload files and use mod_assign_save_submission to upload assignments.

But now, I'm having the problem of saving only one file when using mod_assign_save_submission.

How can I post 2 or more files in API mod_assign_save_submission.

Thanks guys so much



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source