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

Uploade image #50

Open
sajadweb opened this issue Jan 14, 2019 · 2 comments
Open

Uploade image #50

sajadweb opened this issue Jan 14, 2019 · 2 comments

Comments

@sajadweb
Copy link

how to upload image in Mutation?

@curbol
Copy link

curbol commented Apr 3, 2019

I'm trying to do the same thing. Vesper uses apollo so I've been looking at apollo upload examples, but haven't gotten anything working yet.

@rimochiko
Copy link

I met the same problem
I try to transform image to base64 and then I can only use form-data to upload, but faild with no body-parser.
I found vesper use apppllo and express,and last I add bodyParser.urlencoded({ extended: true }) after the source code bodyParser.json()and the problem was solved.
But I don't know if there is a better way to resolve~~~///(^v^)\~~~

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

3 participants