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

Update user's profile picture #109

Open
aibarbetta opened this issue May 10, 2017 · 2 comments
Open

Update user's profile picture #109

aibarbetta opened this issue May 10, 2017 · 2 comments

Comments

@aibarbetta
Copy link
Member

PUT /users/me/photo
Request body¿?¿?¿? @saantiaguilera

@saantiaguilera
Copy link
Member

saantiaguilera commented May 10, 2017

No lo uso yo desde cliente pero supongo que sera un Multipart.

  photoId: long (text/plain)
  photo: byte[] (image/jpg?)

photoId es el id de la foto que estas modificando. Si prefieren usar index del array en vez de id para pisar tambien es otra

@saantiaguilera
Copy link
Member

Si hacemos que el user solo tenga una foto, entonces es un part unico con la imagen jaj

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

No branches or pull requests

2 participants