Re: [Pharo-users] Zinc newbie question: How to get file metadata from Dropbox

2017-07-20 Thread jb
Sven Van Caekenberghe-2 wrote >> On 20 Jul 2017, at 19:57, Johannes Brauer < > brauer@ > > wrote: >> >> Hi! >> >> To download a file from Dropbox is easy: >> >> ZnClient new >> https; host: 'content.dropboxapi.com'; >> addPath: '2'; addPath: 'files'; addPath: 'download'; >> headerAt: 'Autho

Re: [Pharo-users] Zinc newbie question: How to get file metadata from Dropbox

2017-07-20 Thread Sven Van Caekenberghe
> On 20 Jul 2017, at 19:57, Johannes Brauer wrote: > > Hi! > > To download a file from Dropbox is easy: > > ZnClient new > https; host: 'content.dropboxapi.com'; > addPath: '2'; addPath: 'files'; addPath: 'download'; > headerAt: 'Authorization' put: > 'Bearer '; > headerAt: 'Dropbox-API

[Pharo-users] Zinc newbie question: How to get file metadata from Dropbox

2017-07-20 Thread Johannes Brauer
Hi! To download a file from Dropbox is easy: ZnClient new https; host: 'content.dropboxapi.com'; addPath: '2'; addPath: 'files'; addPath: 'download'; headerAt: 'Authorization' put: 'Bearer '; headerAt: 'Dropbox-API-Arg' put: '{"path": "/demo.txt"}' ;get. But I cannot figure out how t