gpt4 book ai didi

c++ - 用于谷歌云消息传递的 QNetworkAccessManager

转载 作者:行者123 更新时间:2023-11-28 00:20:57 25 4
gpt4 key购买 nike

<分区>

       final String[][]  MESSAGE_HEADERS = {
{"Content-Type", "application/json"},
{ "Authorization", "key=" + AUTH_KEY}
};

如何在 Qt 上实现?我试过这个:

QNetworkRequest request(url);
request.setHeader(QNetworkRequest::ContentTypeHeader, "application/json");
request.setHeader("Authorization", "key=AIzaSyBzFcuWKSNn0cJIDQ1EA9jbCom7d8U");

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com