How to upload file (content type - multipart/form-data ) using picker using REST service
Summary
File upload from Postman is working but file upload from file picker using REST is not workingContent
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]
0