course message

-Converted a very old post request to the moodle version.