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

Can't upload images to server through REST API #1332

Closed
alambertt opened this issue Oct 5, 2019 · 1 comment
Closed

Can't upload images to server through REST API #1332

alambertt opened this issue Oct 5, 2019 · 1 comment

Comments

@alambertt
Copy link

alambertt commented Oct 5, 2019

Hi, I have the same problem that this issue below. With the difference that I've used REST request, like the Official Doc.
I'm using Angular 8 like client and the server is on https://parse-dashboard.back4app.com/. And all the services works very well, except this. I can't upload any image, the result is much ugly characters.
I've tried with Angular and also Postman and no difference in the Request. The curious is that I get a Response with the name and url from the "picture" but when I try to get the picture occur that mistake.

sidiabale/parse4cn1#20

Please help with that. Sorry for my English

@alambertt
Copy link
Author

VICTORY!!!!! I SOLVED USING THIS COMPONENT FOR ANGULAR

https://github.com/AckerApple/angular-file

It seems that there was a problem with the file on the REST request that the way I was doing it and even using the Postman was wrong.
When using this component I found it perfectly. I recommend it for handling files with Angular and forms.

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

1 participant