You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a react client from where a user can drag and drop some files. I am sending those files to a node app from where I want to commit those files to Bitbucket repo. I am using multer to get the files in node.
My problem is, I am not sure how to pass these files to BitBucket.
The documentation here says the files parameter should be a string. Can someone please provide an example as to how convert a file to a string? Is it the content that should be converted? If so, how to pass the filename?
The text was updated successfully, but these errors were encountered:
I have a react client from where a user can drag and drop some files. I am sending those files to a node app from where I want to commit those files to Bitbucket repo. I am using multer to get the files in node.
My problem is, I am not sure how to pass these files to BitBucket.
The documentation here says the files parameter should be a string. Can someone please provide an example as to how convert a file to a string? Is it the content that should be converted? If so, how to pass the filename?
The text was updated successfully, but these errors were encountered: