catalogCoursesCreate method

Future<void> catalogCoursesCreate()

POST Add a course to the database. Params: course_id org name (optional)

Implementation

Future<void> catalogCoursesCreate() async {
  final response = await catalogCoursesCreateWithHttpInfo();
  if (response.statusCode >= HttpStatus.badRequest) {
    throw ApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}