Downloading File Using Web Services

Downloading File Using Web Services

by Eylem Aydin -
Number of replies: 1


When I make a call to the URL below I get "Access control exception".


http://DDDDDD/webservice/pluginfile.php/107/assignsubmission_file/submission_files/2/michael_sub.docx?token=XXXXYYYYYZZZZZWWWWWQQQQQQ


Those are the functions of my custom external service:

-core_course_get_categories

-core_course_get_contents

-core_course_get_courses

-core_course_get_courses_by_field

-core_course_get_course_content_items

-core_enrol_get_enrolled_users

-core_files_get_files

-core_user_get_users

-core_user_get_users_by_field

-gradereport_user_get_grade_items

-gradingform_rubric_grader_gradingpanel_fetch

-mod_assign_get_assignments

-mod_assign_get_grades

-mod_assign_get_submissions


It sounds like there is a function missing in that list or a setting is disabled somewhere. However, I couldn't find the missing part after spending hours among admin pages. 


Any help will be greatly appreciated.

Average of ratings: -