Skip to content

Instantly share code, notes, and snippets.

@bangiqi
Created January 24, 2017 08:44
Show Gist options
  • Save bangiqi/57064168eec52715f0c7f4bb330eb00b to your computer and use it in GitHub Desktop.
Save bangiqi/57064168eec52715f0c7f4bb330eb00b to your computer and use it in GitHub Desktop.
public interface ReqInterface {
@GET("api/poster")
Call<JSONResponse> getPoster();
@GET("api/leaflet")
Call<JSONResponse> getLeaflet();
@GET("api/poster/{id}")
Call<JSONResponse> getDetailPoster(@Path("id")long id);
@POST("api/enotif_sis/submit")
Call<Example> postSurvey(
@Body Example example
);
//revisi2
@POST("api/enotif_fas/submit")
Call<DataSurveyFasilitator> postSurvey(
@Body DataSurveyFasilitator example
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment