Created
August 19, 2019 20:10
-
-
Save mbobiosio/4a79580d8361d8f515cf5f8b23f53218 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface ApiService { | |
@Headers({"Accept: application/json"}) | |
@POST("/api/v1/mobile/participants") | |
@FormUrlEncoded | |
Call<JsonObject> register(@Field("first_name") String firstname, | |
@Field("last_name") String lastname, | |
@Field("phone_number") String phone_number, | |
@Field("project_code") String project_code, | |
@Field("app_version") String app_version, | |
@Field("fcm_key") String password, | |
@Field("phone_models") String password_confirmation, | |
@Field("device_type") String device_type, | |
@Field("device_hardware") String device_hardware, | |
@Field("device_manufacturer") String device_manufacturer); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment