Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
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 (content type - multipart/form-data ) using picker using REST service

edited Jul 17, 2019 5:53AM in Visual Builder 4 comments

Summary

File upload from Postman is working but file upload from file picker using REST is not working

Content

Hi ,

    I am trying to upload a file from VBCS -using file picker to Sharepoint using REST service . 

   Postman # 

    Using  Postman I am able to upload the file to sharepoint.

    In Postman I am  passing file as - form-data in request body ( please refer attached scree shot.).

    File object is passed as  # "Content-Type: multipart/form-data"

   VBCS #

      In VBCS , I am calling REST with following option on File Picker selection event ( please refer the attached screen shots)

     Body parameter I am passing - $chain.variables.detail.files[0]

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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