I am working with Dropbox using the component TNetHTTPRequest.
Is there someway to pass Params to the url?
Currently I simply assemble the URL by...
URL := 'https://api.dropboxapi.com/1/metadata/auto/';
URL := URL + '?access_token=' + URIEncode(lbledtAccessToken.Text);
URL := URL + '&list=' + URIEncode('true');
I wish I could assemble a list of Key/Value pairs and pass it along when the TNetHTTPRequest is executed.
Any ideas?
What I am doing is working, but I want something more elegant.
PS: Maybe I should not use TNetHTTPRequest. If you think not, please tell me why.
Thanks!