I want to Convert Doc file into HTML and i try this :
Future getAccessToken() async {
final tokenUrl = ‘https://api.aspose.cloud/connect/token’;
final response = await http.post(
Uri.parse(tokenUrl),
headers: {
…...'Content-Type': 'application/x-www-form-urlencoded', }, body: { 'grant_type':...document, you just need to change ‘pdf’ to ‘HTML’ in the request parameter...