Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
dropbox api HTTP example
#1
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
Code:
Copy      Help
Http h
h.Post


DROPBOX GENERATED EXAMPLE:
https://dropbox.github.io/dropbox-api-v ... et_account

Code:
Copy      Help
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"
}
[Image: dropbox_api_1.jpg]

DROPBOX 'get_account' DOCUMENTATION:
https://www.dropbox.com/developers/docu ... et_account
[Image: dropbox_api_2.jpg]


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)