test of api data on moodle