卷曲:在CONNECT之后从代理接收到HTTP代码404

时间:2016-06-16 06:44:30

标签: curl openstack

我使用以下命令获取令牌。

curl -s -X POST http://127.0.0.1:5000/v2.0/tokens -H "Content-Type: application/json" -d '{"auth": {"tenantName": "'"$OS_TENANT_NAME"'", "passwordCredentials": {"username": "'"$OS_USERNAME"'", "password": "'"$OS_PASSWORD"'"}}}'| python -m json.tool

在此之后我想打开openstack keystone服务的卷曲。所以我试过, 卷曲https://keystone:5000

但是这会导致错误

curl: (56) Received HTTP code 404 from proxy after CONNECT

如何对openstack服务进行curl调用?

0 个答案:

没有答案