package com.example.cosmosclient.resources; import com.example.cosmosclient.entities.Group; import retrofit2.Call; import retrofit2.http.Field; import retrofit2.http.FormUrlEncoded; import retrofit2.http.POST; public interface GroupsRest { @POST("groups") @FormUrlEncoded Call<Group> createGroup(@Field("name") String name,@Field("uId") String uId,@Field("token") String token); }