import 'dart:io';
import 'dart:convert';

void main() async {
  var url = 'https://app.yellikasms.com/api/v3/sms/send';
  var headers = {
    'Accept': 'application/json',
    'Authorization': 'Bearer XXXX-VOTRE-TOKEN--ICI-XXXX',
    'Content-Type': 'application/json'
  };
  var data = {
    'recipient': '225++++++',
    'sender_id': 'XXX-SENDER-ID-ICI-XXX',
    'type': 'plain',
    'message': 'MESSAGE-ICI'
  };

  var response = await http.post(url, headers: headers, body: jsonEncode(data));
  print(response.body);
}