Question

How to put file in body in API Configuration?

  • 24 July 2023
  • 0 replies
  • 139 views

Hi - I am trying to achieve Upload file from windows directory to Cloud storage by using the Path of file in body but Zapier does not upload file on Cloud storage because 

 - API only accept the body file binary format and having the file and when trying the API on Postman by using the body as Binary and Select file from windows directory then API upload file on Cloud.

But the issue is i can not find any option as Input type having the file or make the API body as Binary so i pass the Windows Directory path but API not accept this type of body.

So please suggest me possible solution.

Trying this Code from zapier and its not working where bundle.inputdata.data having the windows directory path
If Put file by these setting on Postman then API Upload file on cloud

 


This post has been closed for comments. Please create a new post if you need help or have a question about this topic.