Skip to content

Instantly share code, notes, and snippets.

@mbobiosio
Created August 19, 2019 20:10
Show Gist options
  • Save mbobiosio/4a79580d8361d8f515cf5f8b23f53218 to your computer and use it in GitHub Desktop.
Save mbobiosio/4a79580d8361d8f515cf5f8b23f53218 to your computer and use it in GitHub Desktop.
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