Monday, 15 June 2015

salesforce - First Box.com integration. How do I query for a list of folders? -



salesforce - First Box.com integration. How do I query for a list of folders? -

i have oauth stuff working expected. no challenges there. need utilize access token something. nil have tried works. i'm sure it's simple, not sure how translate examples in curl http post/get requests.

box.com help says: curl https://api.box.com/2.0/folders/folder_id \ -h "authorization: bearer your_access_token"

how write using http post/get?

as long requests beingness sent via standard http functionality don't believe platform matters. regardless, i'm using apex write in salesforce.com.

note: know there app on appexchange integrate box.com , salesforce. purposes don't want rely on apps unique specific platform.

any help appreciated.

it's request headers , optionally xml / json post payload, not sure what's specific problem? have tried writing code?

simple example: http://www.salesforce.com/us/developer/docs/api_asynch/content/asynch_api_quickstart_login.htm

bit more advanced: http://developer.force.com/cookbook/recipe/scheduling-an-apex-call-from-the-command-line

curl powerful tool , list of it's commandline options not faint of heart. still - utilize reference, "-h" meaning http header. think "\" indicating it's multiline command, can ignore it.

salesforce integration

No comments:

Post a Comment