Learn about Redwood and be one of the first to join the conversation

Visit Redwood Community
Uploading a file into content and experience cloud using REST Api — Cloud Customer Connect
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

Uploading a file into content and experience cloud using REST Api

Received Response
23
Views
3
Comments
edited Dec 18, 2020 8:36AM in Content Management 3 comments

Summary

File content passing format in the body of the rest api

Content

Hi,
I am trying to upload a file through postman, it works fine when I select the file through postman (screenshot attached below) but in real case scenario we wont be getting the full directory path of the file due to security reasons, so how can we pass the file content (data) into the body.
Preferably we are trying with pdf formats .If we are to convert the pdf into base 64 how can it be passed in the request body?

 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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