You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to upload file to Box.com by using ICS rest adapter?

edited Jun 26, 2019 7:18AM in Integration 1 comment

Content

Upload file to Box.com by postman like below:

  1. Upload file reat api: https://upload.box.com/api/2.0/files/content . POST
  2. Headesr: Authorization Bearer N6fR23nrCelqIbQLi3TXholxxxxxxx

                          Content-Type multipart/form-data

        3. Body: Select form-data radio button

                       Key: file (select file, not text). Value: choose a file from local

                       Key: attributes. Value: {"name":"2.txt", "parent":{"id":"0"}}

Then send the request, the file could upload.

 

Now I want to upload the file to Box using OIC rest adapter.

  1. I create a Rest Adapter Trigger
  2. I also create a Rest Adapter Invoke (connection type: REST API Base URL, connection URL: https://api.box.com/2.0
Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!