|
|
@ -3,6 +3,7 @@ package ru.visionlab.femdemo.api; |
|
|
|
import java.util.Map; |
|
|
|
|
|
|
|
import retrofit2.Call; |
|
|
|
import retrofit2.http.Body; |
|
|
|
import retrofit2.http.FieldMap; |
|
|
|
import retrofit2.http.FormUrlEncoded; |
|
|
|
import retrofit2.http.POST; |
|
|
@ -12,8 +13,8 @@ import ru.visionlab.femdemo.models.Users; |
|
|
|
public interface JsonPlaceHolderApi { |
|
|
|
|
|
|
|
@FormUrlEncoded |
|
|
|
@POST("posts") |
|
|
|
Call<RegistrationNew> createpost(RegistrationNew registrationNew); |
|
|
|
@POST("services/app/Employee/RegisterEmployee") |
|
|
|
Call<RegistrationNew> createpost(@Body RegistrationNew registrationNew); |
|
|
|
//Call<RegistrationNew> createpost(@FieldMap Map<String,String> fields); |
|
|
|
|
|
|
|
@FormUrlEncoded |
|
|
|