📜  如何在颤振中使用 api 密钥 - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:43.585000             🧑  作者: Mango

代码示例1
Try to change http.Response response = await http.get(cryptoUrl); to

http.Response response = await http.get(cryptoUrl, 
headers: {"X-CMC_PRO_API_KEY": "cab79c7b-52e9-4e4b-94fc-b0f32da14799"});

For more info check this link.