curl - curl请求后没有输出
问题描述
我正在向 Aconex api 发出请求,但没有任何输出。
API 入门文档位于此网站 https://help.aconex.com/aconex/aconex-apis/getting-started-aconex-apis/getting-started-apis
与 git bash 不同,我使用了他们的 api 查询工具并能够发出成功的请求。
curl -u user:password https://uk1.aconex.co.uk/api/projects/268441564/mail?mail_box=inbox
解决方案
It looks like you did not encode the user:password to base 64.