简体   繁体   中英

How to upload and retrieve data under a specific user in retrofit?

I'm totally a beginner with api consumption i'm creating a app where user will login with credentials which are preset in database now after login user can upload his profile photo and update profile details finally on submit click i need to fetch all data related to that particular user and display it. How can i implement this with retrofit?

I strongly recommend you to view these awesome Retrofit tutorial set before you begin your implementation. The series contains all the things you need. For eg

  1. Authentication: here
  2. Profile Image Upload: here
  3. Sending requests and reading responses: here

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM