This will raise an error if request.POST does not contain course_id; return 400 if it is absent.