0

I'm trying to get to grips with retrofit2. I'm trying to do an API call to the following url:

https://baseurl.com/api/user/{user_id}/devices

How do I psas the user_id variable to the endpoint?

@GET("/api/user/<<some magic>>/devices") // please help
ardevd
  • 3,329
  • 5
  • 30
  • 55

0 Answers0