01-20-2016, 12:29 AM
From this page: https://www.dropbox.com/developers/documentation
I Got to this page (HTTP): https://www.dropbox.com/developers/docu ... p/overview
I wanted to know if QM could use the HTTP API from the above HTTP page overview.
Specifically about the 'get_account' request.
If it is possible could you give an example of the correct syntax.
I have added the screenshots to the generated code and documentation below (my apologies for the scrolling)
DROPBOX GENERATED EXAMPLE = The page where you can generate a HTTP request based on an token that comes from your account
DROPBOX 'get_account' DOCUMENTATION = documentation about the 'get_account' request.
I assume the 'Http' function should be used?
The goal is to output the RETURNED data in QM (see below in DROPBOX 'get_account' DOCUMENTATION, 'name' , 'surname' etc...)
Macro http_dropbox_api_example
DROPBOX GENERATED EXAMPLE:
https://dropbox.github.io/dropbox-api-v ... et_account
DROPBOX 'get_account' DOCUMENTATION:
https://www.dropbox.com/developers/docu ... et_account
I Got to this page (HTTP): https://www.dropbox.com/developers/docu ... p/overview
I wanted to know if QM could use the HTTP API from the above HTTP page overview.
Specifically about the 'get_account' request.
If it is possible could you give an example of the correct syntax.
I have added the screenshots to the generated code and documentation below (my apologies for the scrolling)
DROPBOX GENERATED EXAMPLE = The page where you can generate a HTTP request based on an token that comes from your account
DROPBOX 'get_account' DOCUMENTATION = documentation about the 'get_account' request.
I assume the 'Http' function should be used?
The goal is to output the RETURNED data in QM (see below in DROPBOX 'get_account' DOCUMENTATION, 'name' , 'surname' etc...)
Macro http_dropbox_api_example
DROPBOX GENERATED EXAMPLE:
https://dropbox.github.io/dropbox-api-v ... et_account
POST /2/users/get_account
Host: https://api.dropboxapi.com
User-Agent: api-explorer-client
Authorization: Bearer jkllaadddd67y
Content-Type: application/json
{
"account_id": "12341234"
}
DROPBOX 'get_account' DOCUMENTATION:
https://www.dropbox.com/developers/docu ... et_account