Newer
Older
CosmosClient / app / src / main / java / com / example / cosmosclient / views / SignupService.java
k-morimoto on 7 Jun 2019 363 bytes インタフェース内の関数名変更
package com.example.cosmosclient.views;

import retrofit2.Call;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

public interface SignupService {
    @POST("users")
    @FormUrlEncoded
    Call<SignupResponse> createUser(@Field("name") String name, @Field("pw") String pw, @Field("icon-image") String icon_image);
}