我正在尝试与Postman一起探索mixpanel API。
这是我应该调用的url:
curl https://mixpanel.com/api/2.0/segmentation/ \ -u YOUR_API_SECRET: \ -d from_date="2016-02-11" -d to_date="2016-02-11" -d event="Viewed Page"
我找不到允许我只使用密码而不登录的授权。
从curl的手册页:
-u, --user <user:password>
YOUR_API_SECRET 你有没有试过用它作为邮递员的用户名?
YOUR_API_SECRET