|
|
@ -34,12 +34,12 @@ interface IHttpPostApi { |
|
|
|
@Url url: String, |
|
|
|
@Url url: String, |
|
|
|
@FieldMap(encoded = true) fieldMap: Map<String, String>, |
|
|
|
@FieldMap(encoded = true) fieldMap: Map<String, String>, |
|
|
|
@HeaderMap headers: Map<String, String> |
|
|
|
@HeaderMap headers: Map<String, String> |
|
|
|
): Call<Response<String>> |
|
|
|
): Call<String> |
|
|
|
|
|
|
|
|
|
|
|
@POST |
|
|
|
@POST |
|
|
|
fun postBody( |
|
|
|
fun postBody( |
|
|
|
@Url url: String, |
|
|
|
@Url url: String, |
|
|
|
@Body body: RequestBody, |
|
|
|
@Body body: RequestBody, |
|
|
|
@HeaderMap headers: Map<String, String> |
|
|
|
@HeaderMap headers: Map<String, String> |
|
|
|
): Call<Response<String>> |
|
|
|
): Call<String> |
|
|
|
} |
|
|
|
} |
|
|
|