Skip to content

Having some trouble with posting data #99

@sell

Description

@sell

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions