package j4ckall.rxflux.api; import io.reactivex.Single; import j4ckall.rxflux.ui.registration.Account; import retrofit2.http.Field; import retrofit2.http.FormUrlEncoded; import retrofit2.http.POST; /** * アカウント登録のAPI * * @author matsumoto_k */ public interface RegistrationService { @FormUrlEncoded @POST("accounts") Single<Account> postAccounts(@Field("userName") String userName); }