Dropbox API 使用curl检索特定文件的现有共享链接

示例

curl -X POST https://api.dropboxapi.com/2/sharing/list_shared_links \
    --header "Authorization: Bearer <ACCESS_TOKEN>" \
    --header "Content-Type: application/json" \
    --data "{\"path\": \"/test.txt\", \"direct_only\": true}"

<ACCESS_TOKEN> 应该用OAuth 2访问令牌替换。