-
Notifications
You must be signed in to change notification settings - Fork 0
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
BE - Route for user's profile image #25
Comments
That's sound interesting, I like that! |
@janmrakava Try to test the profile image route please. There's probably some issue with the Postman extension of the VSCode but I'm not able to test it properly. It will fail probably, but please try it at least. Use the branch mentioned and linked to this issue. Thanks! |
@prikryla no problema. Just maybe can you share some easy peasy tutorial, which method, parameters etc?:) |
Parameter for the route should be path of the image that was uploaded from FE side. Basically it comes from form-data and not as parameter. Not particular parameter of the route was specified hence it's not required. You can find it under authentication app (urls.py/views.py). Don't forget to perform migration due update the db model. |
Well, okay. In that case I need to study how to process image on FE, and how to send this data. Because I don't have experience with this one, if I to be honest |
@prikryla So I looked up how I should do it on the FE part, and somehow it should work. so we can try it the way you did and see and be wiser. I was expecting something more difficult on FE, but I guess it won't be given the size of our application. |
@janmrakava I have consulted this issue with one of my colleagues and I suggest to postpone this issue or move it to later. This is seriously not that trivial and we should investigate this deeper and then propose some solution. WDYT? I should finalize other router for editing data etc. |
No problem. FE is ready for solution without image, so no struggle on my side. |
Create a route that will upload/edit user's profile image.
The text was updated successfully, but these errors were encountered: