Hey, so I am trying to upload a file but am kind of confused how I will go about it, so I have
b2.uploadFile({
uploadUrl: 'my url is here',
uploadAuthToken: 'my token is here',
)}
Now, how do I go about uploading a file, because the only other param I see is fileName, and not like a specific file or path where I can get the image and upload it, because I have an api and want to post the uploaded users image to backblaze,
So, Example for uploading an image from a canvas #17 kind of helped me, but it's just upload buffer, and I am unable to view it, just shows a black box.
Hey, so I am trying to upload a file but am kind of confused how I will go about it, so I have
Now, how do I go about uploading a file, because the only other param I see is
fileName
, and not like a specific file or path where I can get the image and upload it, because I have an api and want to post the uploaded users image to backblaze,So, Example for uploading an image from a canvas #17 kind of helped me, but it's just upload buffer, and I am unable to view it, just shows a black box.