postCourseHeaders static method
Implementation
static Map<String, String> postCourseHeaders(
{required String apiKey,
required String baseUrl,
required String token,
required String wid,
required String courseId,
required String rootOrgId}) {
Map<String, String> headers = {
'Authorization': 'bearer $apiKey',
'x-authenticated-user-token': token,
'Content-Type': 'application/json; charset=utf-8',
'hostpath': baseUrl,
'locale': 'en',
'org': 'dopt',
'rootOrg': 'igot',
'courseId': courseId,
'userUUID': wid,
'x-authenticated-userid': wid,
'x-authenticated-user-orgid': rootOrgId
};
return headers;
}