Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I am planning to use box cli or curl for uploading files to box. I am unable to understand the exact steps required. For example, one of my requirements is not to redirect the user to box for interactive logon.

I understand, I have to create a custom box app for this purpose. I did so and created a custom box app with server side jwt authentication and with 'App Access Only' setting.

curl -i -X POST "https://api.box.com/2.0/folders" ^
     -H "Authorization: Bearer <my developer token>" ^
     -H "Content-Type: application/json" ^
     -d "{"name": "New Folder", "parent": {"id": "0"}}"

I get error

"status":403,"code":"access_denied_insufficient_permissions"

I don't understand enough about box and would like to know how to proceed in this matter. Any references will be really helpful

Thanks

question from:https://stackoverflow.com/questions/65917490/box-cli-or-curl-for-automated-upload-of-files

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
1.1k views
Welcome To Ask or Share your Answers For Others

1 Answer

Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...