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