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,218
  • 4
  • 28
  • 53

0 Answers0