package com.example.cosmosclient.resources; import com.example.cosmosclient.entities.JoinGroupResponse; import com.example.cosmosclient.entities.SigninResponse; import retrofit2.Call; import retrofit2.http.POST; import retrofit2.http.Path; import retrofit2.http.Query; public interface JoinGroupRest { @POST("groups/{gId}/members") Call<JoinGroupResponse> JoinGroup(@Path("gId") String gId, @Query("uId ") String uId , @Query("token ") String token); }