gpt4 book ai didi

PHP - Guzzle\Http\Exception\CurlException - Craft CMS

转载 作者:搜寻专家 更新时间:2023-10-31 21:48:27 26 4
gpt4 key购买 nike

尽管本地和生产服务器连接正常,但在尝试连接到 EventBrite API 时,我在登台服务器上遇到了 CURL 错误:

[curl] 6: Could not resolve host: www.eventbriteapi.com; Name or service not known [url] https://www.eventbriteapi.com/v3/users/me/owned_events/?status=live%2Cstarted&order_by=start_asc&expand=category%2Cvenue%2Csubcategory%2Cformat%2Corganizer

我们检查了登台服务器上的 curl 命令,它也正常运行。知道如何解决这个问题吗?

最佳答案

检查你的 curl url

[url] https://www.eventbriteapi.com/v3/users/me/owned_events/?status=live%2Cstarted&order_by=start_asc&expand=category%2Cvenue%2Csubcategory%2Cformat%2Corganizer

将此更改为

[url] https://www.eventbriteapi.com/v3/users/me/owned_events?status=live%2Cstarted&order_by=start_asc&expand=category%2Cvenue%2Csubcategory%2Cformat%2Corganizer

删除/在 owned_events 之后

关于PHP - Guzzle\Http\Exception\CurlException - Craft CMS,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50362449/

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