catalogReviewsCoursesCreateWithHttpInfo method
POST Add/update course reviews Params: user_id/username course_id metadata content rating visible
Note: This method returns the HTTP Response.
Implementation
Future<Response> catalogReviewsCoursesCreateWithHttpInfo() async {
// ignore: prefer_const_declarations
final path = r'/api/catalog/reviews/courses/';
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}