📅  最后修改于: 2022-03-11 14:59:02.949000             🧑  作者: Mango
var client = http.Client();
try {
var uriResponse = await client.post('https://example.com/whatsit/create',
body: {'name': 'doodle', 'color': 'blue'});
print(await client.get(uriResponse.bodyFields['uri']));
} finally {
client.close();
}