retrofit2.http.FieldMap Java Examples

The following examples show how to use retrofit2.http.FieldMap. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: CsdnApiService.java    From KotlinMVPRxJava2Dagger2GreenDaoRetrofitDemo with Apache License 2.0 4 votes vote down vote up
@FormUrlEncoded
@POST("getUser")
Observable<BaseEntity<User>> getUser(@FieldMap Map<String, String> map);
 
Example #2
Source File: BaseApiService.java    From JD-Test with Apache License 2.0 4 votes vote down vote up
@POST()
@FormUrlEncoded
Flowable<ResponseBody> executePost(
        @Url() String url,
        @FieldMap Map<String, Object> maps);
 
Example #3
Source File: UpdateService.java    From last.fm-api with MIT License 4 votes vote down vote up
@POST("./")
@FormUrlEncoded
Completable removeTagFromArtist(@FieldMap Map<String,String> options);
 
Example #4
Source File: UpdateService.java    From last.fm-api with MIT License 4 votes vote down vote up
@POST("./")
@FormUrlEncoded
Completable addTagsToTrack(@FieldMap Map<String,String> options);
 
Example #5
Source File: UpdateService.java    From last.fm-api with MIT License 4 votes vote down vote up
@POST("./")
@FormUrlEncoded
Completable removeTagFromTrack(@FieldMap Map<String,String> options);
 
Example #6
Source File: UpdateService.java    From last.fm-api with MIT License 4 votes vote down vote up
@POST("./")
@FormUrlEncoded
Completable loveTrack(@FieldMap Map<String,String> options);
 
Example #7
Source File: UpdateService.java    From last.fm-api with MIT License 4 votes vote down vote up
@POST("./")
@FormUrlEncoded
Completable unloveTrack(@FieldMap Map<String,String> options);
 
Example #8
Source File: UpdateService.java    From last.fm-api with MIT License 4 votes vote down vote up
@POST("./")
@FormUrlEncoded
Completable updateNowPlayingTrack(@FieldMap Map<String,String> options);
 
Example #9
Source File: AuthService.java    From last.fm-api with MIT License 4 votes vote down vote up
@POST("./")
@FormUrlEncoded
Single<Response<Session>> auth(@FieldMap Map<String,String> map);
 
Example #10
Source File: NanoServerService.java    From NanoIconPack with Apache License 2.0 4 votes vote down vote up
/**
 * { "status": 0, "msg": "success", "result": 5 }
 */
@FormUrlEncoded
@POST("req/{iconpack}")
Call<ResResBean<Integer>> reqRedraw(@Path("iconpack") String iconPack,
                                    @FieldMap Map<String, String> fields);
 
Example #11
Source File: CommonRequest.java    From RetrofitClient with MIT License 4 votes vote down vote up
@FormUrlEncoded
@PUT("{path}")
Observable<ResponseBody> doPut(@Path(value = "path", encoded = true) String url, @FieldMap Map<String, Object> map);
 
Example #12
Source File: UpdateService.java    From last.fm-api with MIT License 4 votes vote down vote up
@POST("./")
@FormUrlEncoded
Completable addTagsToArtist(@FieldMap Map<String,String> options);
 
Example #13
Source File: OAuth2API.java    From OAuth-2.0-Cookbook with MIT License 4 votes vote down vote up
@FormUrlEncoded
@POST("oauth/token")
Call<AccessToken> requestToken(@FieldMap Map<String, String> tokenRequest);
 
Example #14
Source File: OAuth2API.java    From OAuth-2.0-Cookbook with MIT License 4 votes vote down vote up
@FormUrlEncoded
@POST("oauth/token")
Call<AccessToken> requestToken(@FieldMap Map<String, String> tokenRequest);
 
Example #15
Source File: ApiService.java    From TestChat with Apache License 2.0 4 votes vote down vote up
@FormUrlEncoded
@POST
Call<ResponseBody> post(@Url String url, @FieldMap Map<String,String>map);
 
Example #16
Source File: OAuth2API.java    From OAuth-2.0-Cookbook with MIT License 4 votes vote down vote up
@FormUrlEncoded
@POST("oauth/token")
Call<AccessToken> requestToken(@FieldMap Map<String, String> tokenRequest);
 
Example #17
Source File: AuthService.java    From SoundCloud-API with MIT License 4 votes vote down vote up
@FormUrlEncoded
@POST(Endpoints.TOKEN)
Single<Token> requestToken(@FieldMap Map<String,Object> authMap);
 
Example #18
Source File: UserApi.java    From V2EX with GNU General Public License v3.0 4 votes vote down vote up
@POST("signin")
@Headers({"Referer:https://www.v2ex.com/signin",  "Origin:https://www.v2ex.com"})
@FormUrlEncoded
Observable<String> postLogin(@FieldMap Map<String, String> form);
 
Example #19
Source File: TopicApi.java    From V2EX with GNU General Public License v3.0 4 votes vote down vote up
@POST("/api/topics/create.json")
Observable<JsonObject> createTopic(@FieldMap HashMap<String, String> fields);
 
Example #20
Source File: RetrofitService.java    From DanDanPlayForAndroid with MIT License 4 votes vote down vote up
@FormUrlEncoded
@POST("/api/v2/register/resetpassword")
Observable<CommJsonEntity> resetPassword(@FieldMap Map<String, String> params);
 
Example #21
Source File: RetrofitService.java    From DanDanPlayForAndroid with MIT License 4 votes vote down vote up
@FormUrlEncoded
@POST("/api/v2/user/password")
Observable<CommJsonEntity> changePassword(@FieldMap Map<String, String> params);
 
Example #22
Source File: RetrofitService.java    From DanDanPlayForAndroid with MIT License 4 votes vote down vote up
@FormUrlEncoded
@POST("/api/v2/register")
Observable<RegisterBean> register(@FieldMap Map<String, String> params);
 
Example #23
Source File: RetrofitService.java    From DanDanPlayForAndroid with MIT License 4 votes vote down vote up
@FormUrlEncoded
@POST("/api/v2/favorite")
Observable<CommJsonEntity> follow(@FieldMap Map<String, String> params);
 
Example #24
Source File: RetrofitService.java    From DanDanPlayForAndroid with MIT License 4 votes vote down vote up
@FormUrlEncoded
@POST("api/v2/login")
Observable<PersonalBean> login(@FieldMap Map<String, String> params);
 
Example #25
Source File: RetrofitService.java    From DanDanPlayForAndroid with MIT License 4 votes vote down vote up
@FormUrlEncoded
@POST("api/v2/comment/{episodeId}")
Observable<UploadDanmuBean> uploadDanmu(@FieldMap Map<String, String> params, @Path("episodeId") String episodeId);
 
Example #26
Source File: RetrofitService.java    From DanDanPlayForAndroid with MIT License 4 votes vote down vote up
@FormUrlEncoded
@POST("api/v2/match")
Observable<DanmuMatchBean> matchDanmu(@FieldMap Map<String, String> params);
 
Example #27
Source File: SubtitleRetrofitService.java    From DanDanPlayForAndroid with MIT License 4 votes vote down vote up
@FormUrlEncoded
@Headers({"query:shooter"})
@POST("/api/subapi.php")
Observable<List<SubtitleBean.Shooter>> queryShooter(@FieldMap Map<String, String> map);
 
Example #28
Source File: IHttpPostApi.java    From HaoReader with GNU General Public License v3.0 4 votes vote down vote up
@FormUrlEncoded
@POST
Observable<Response<String>> searchBook(@Url String url, @FieldMap(encoded = true) Map<String, String> fieldMap, @HeaderMap Map<String, String> headers);
 
Example #29
Source File: JerryApiService.java    From Android-MVP with Apache License 2.0 4 votes vote down vote up
@FormUrlEncoded
@POST("api/user/devices")
Observable<BaseResponse<List<DeviceVO>>> getDevices(@FieldMap Map<String, String> map);
 
Example #30
Source File: JerryApiService.java    From Android-MVP with Apache License 2.0 4 votes vote down vote up
@FormUrlEncoded
@POST("api/user/loginByMobile")
Observable<BaseResponse<UserVO>> getUser(@FieldMap Map<String, String> map);