Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload issue #92

Open
selva-v opened this issue Apr 10, 2017 · 1 comment
Open

Upload issue #92

selva-v opened this issue Apr 10, 2017 · 1 comment

Comments

@selva-v
Copy link

selva-v commented Apr 10, 2017

Hi Tim,

Firstly I would like to express my thanks for the great work. I'm very new to ember, so my question maybe silly.

I have installed ember-plupload in my test project on my local machine. while trying to upload a image, i'm getting the below issue. can you please help me to resolve this. Also i want to do base64 as well.

POST http://localhost:4200/upload/images/upload 404 (Not Found)

My code is,

file.upload('images/upload').then(function (response) {
                set(image, 'url', response.headers.Location);
                return image.save();
            }, function () {
                console.log("File uploaded");
            });

Thanks in advance.

@tim-evans
Copy link
Collaborator

Hi @selva-v, no worries :)

I don't believe you've setup the endpoint to upload, and that's what you're experiencing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants