Newer
Older
CosmosClient / app / src / main / java / com / example / cosmosclient / resources / JoinGroupRest.java
t-tai on 25 Jun 2019 473 bytes retrofit
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);

}