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 Project: a   Author: 804463258   File: IHttpPostApi.java    License: GNU General Public License v3.0 4 votes vote down vote up
@FormUrlEncoded
@POST
Observable<Response<String>> postMap(@Url String url,
                                     @FieldMap(encoded = true) Map<String, String> fieldMap,
                                     @HeaderMap Map<String, String> headers);
 
Example #2
Source Project: Pix-EzViewer   Author: Notsfsssf   File: OAuthSecureService.java    License: MIT License 4 votes vote down vote up
@FormUrlEncoded
@POST("/auth/token")
Observable<PixivOAuthResponse> postAuthToken(@FieldMap Map<String, Object> map);
 
Example #3
Source Project: Pix-EzViewer   Author: Notsfsssf   File: OAuthSecureService.java    License: MIT License 4 votes vote down vote up
@FormUrlEncoded
@POST("/auth/token")
Call<ResponseBody> postAuthTokenx(@FieldMap Map<String, Object> map);
 
Example #4
Source Project: PixivforMuzei3   Author: yellowbluesky   File: OAuthResponseService.java    License: GNU General Public License v3.0 4 votes vote down vote up
@FormUrlEncoded
@POST("/auth/token")
Call<OauthResponse> postRefreshToken(@FieldMap Map<String, String> params);
 
Example #5
Source Project: PixivforMuzei3   Author: yellowbluesky   File: OAuthResponseService.java    License: GNU General Public License v3.0 4 votes vote down vote up
@FormUrlEncoded
@POST("/v2/illust/bookmark/add")
Call<OauthResponse> postArtworkBookmark(@Header("Authorization") String accessToken, @FieldMap Map<String, String> params);
 
Example #6
Source Project: FastWaiMai   Author: zion223   File: RestService.java    License: MIT License 4 votes vote down vote up
@POST
@FormUrlEncoded
Call<String> post(@Url String url, @FieldMap Map<String,Object> params);
 
Example #7
Source Project: FastWaiMai   Author: zion223   File: RestService.java    License: MIT License 4 votes vote down vote up
@PUT
@FormUrlEncoded
Call<String> put(@Url String url, @FieldMap Map<String,Object> params);
 
Example #8
Source Project: FastWaiMai   Author: zion223   File: RxRestService.java    License: MIT License 4 votes vote down vote up
@POST
@FormUrlEncoded
Observable<String> post(@Url String url, @FieldMap Map<String, Object> params);
 
Example #9
Source Project: FastWaiMai   Author: zion223   File: RxRestService.java    License: MIT License 4 votes vote down vote up
@PUT
@FormUrlEncoded
Observable<String> put(@Url String url, @FieldMap Map<String, Object> params);
 
Example #10
Source Project: Infinity-For-Reddit   Author: Docile-Alligator   File: RedditAPI.java    License: GNU Affero General Public License v3.0 4 votes vote down vote up
@FormUrlEncoded
@POST("api/v1/access_token")
Call<String> getAccessToken(@HeaderMap Map<String, String> headers, @FieldMap Map<String, String> params);
 
Example #11
Source Project: Infinity-For-Reddit   Author: Docile-Alligator   File: RedditAPI.java    License: GNU Affero General Public License v3.0 4 votes vote down vote up
@FormUrlEncoded
@POST("api/vote")
Call<String> voteThing(@HeaderMap Map<String, String> headers, @FieldMap Map<String, String> params);
 
Example #12
Source Project: Infinity-For-Reddit   Author: Docile-Alligator   File: RedditAPI.java    License: GNU Affero General Public License v3.0 4 votes vote down vote up
@FormUrlEncoded
@POST("api/subscribe")
Call<String> subredditSubscription(@HeaderMap Map<String, String> headers, @FieldMap Map<String, String> params);
 
Example #13
Source Project: Infinity-For-Reddit   Author: Docile-Alligator   File: RedditAPI.java    License: GNU Affero General Public License v3.0 4 votes vote down vote up
@FormUrlEncoded
@POST("api/comment")
Call<String> sendComment(@HeaderMap Map<String, String> headers, @FieldMap Map<String, String> params);
 
Example #14
Source Project: Infinity-For-Reddit   Author: Docile-Alligator   File: RedditAPI.java    License: GNU Affero General Public License v3.0 4 votes vote down vote up
@FormUrlEncoded
@POST("api/del")
Call<String> delete(@HeaderMap Map<String, String> headers, @FieldMap Map<String, String> params);
 
Example #15
Source Project: Infinity-For-Reddit   Author: Docile-Alligator   File: RedditAPI.java    License: GNU Affero General Public License v3.0 4 votes vote down vote up
@FormUrlEncoded
@POST("api/submit")
Call<String> submit(@HeaderMap Map<String, String> headers, @FieldMap Map<String, String> params);
 
Example #16
Source Project: Infinity-For-Reddit   Author: Docile-Alligator   File: RedditAPI.java    License: GNU Affero General Public License v3.0 4 votes vote down vote up
@FormUrlEncoded
@POST("api/media/asset.json?raw_json=1&gilding_detail=1")
Call<String> uploadImage(@HeaderMap Map<String, String> headers, @FieldMap Map<String, String> params);
 
Example #17
Source Project: Infinity-For-Reddit   Author: Docile-Alligator   File: RedditAPI.java    License: GNU Affero General Public License v3.0 4 votes vote down vote up
@FormUrlEncoded
@POST("/api/editusertext")
Call<String> editPostOrComment(@HeaderMap Map<String, String> headers, @FieldMap Map<String, String> params);
 
Example #18
Source Project: Infinity-For-Reddit   Author: Docile-Alligator   File: RedditAPI.java    License: GNU Affero General Public License v3.0 4 votes vote down vote up
@FormUrlEncoded
@POST("/api/marknsfw")
Call<String> markNSFW(@HeaderMap Map<String, String> headers, @FieldMap Map<String, String> params);
 
Example #19
Source Project: Infinity-For-Reddit   Author: Docile-Alligator   File: RedditAPI.java    License: GNU Affero General Public License v3.0 4 votes vote down vote up
@FormUrlEncoded
@POST("/api/unmarknsfw")
Call<String> unmarkNSFW(@HeaderMap Map<String, String> headers, @FieldMap Map<String, String> params);
 
Example #20
Source Project: Infinity-For-Reddit   Author: Docile-Alligator   File: RedditAPI.java    License: GNU Affero General Public License v3.0 4 votes vote down vote up
@FormUrlEncoded
@POST("/api/spoiler")
Call<String> markSpoiler(@HeaderMap Map<String, String> headers, @FieldMap Map<String, String> params);
 
Example #21
Source Project: Infinity-For-Reddit   Author: Docile-Alligator   File: RedditAPI.java    License: GNU Affero General Public License v3.0 4 votes vote down vote up
@FormUrlEncoded
@POST("/api/unspoiler")
Call<String> unmarkSpoiler(@HeaderMap Map<String, String> headers, @FieldMap Map<String, String> params);
 
Example #22
Source Project: Infinity-For-Reddit   Author: Docile-Alligator   File: RedditAPI.java    License: GNU Affero General Public License v3.0 4 votes vote down vote up
@FormUrlEncoded
@POST("{subredditNamePrefixed}/api/selectflair")
Call<String> selectFlair(@Path("subredditNamePrefixed") String subredditName, @HeaderMap Map<String, String> headers, @FieldMap Map<String, String> params);
 
Example #23
Source Project: Infinity-For-Reddit   Author: Docile-Alligator   File: RedditAPI.java    License: GNU Affero General Public License v3.0 4 votes vote down vote up
@FormUrlEncoded
@POST("/api/read_message")
Call<String> readMessage(@HeaderMap Map<String, String> headers, @FieldMap Map<String, String> ids);
 
Example #24
Source Project: Infinity-For-Reddit   Author: Docile-Alligator   File: RedditAPI.java    License: GNU Affero General Public License v3.0 4 votes vote down vote up
@FormUrlEncoded
@POST("/api/save")
Call<String> save(@HeaderMap Map<String, String> headers, @FieldMap Map<String, String> params);
 
Example #25
Source Project: Infinity-For-Reddit   Author: Docile-Alligator   File: RedditAPI.java    License: GNU Affero General Public License v3.0 4 votes vote down vote up
@FormUrlEncoded
@POST("/api/unsave")
Call<String> unsave(@HeaderMap Map<String, String> headers, @FieldMap Map<String, String> params);
 
Example #26
Source Project: Infinity-For-Reddit   Author: Docile-Alligator   File: RedditAPI.java    License: GNU Affero General Public License v3.0 4 votes vote down vote up
@FormUrlEncoded
@POST("/api/hide")
Call<String> hide(@HeaderMap Map<String, String> headers, @FieldMap Map<String, String> params);
 
Example #27
Source Project: Infinity-For-Reddit   Author: Docile-Alligator   File: RedditAPI.java    License: GNU Affero General Public License v3.0 4 votes vote down vote up
@FormUrlEncoded
@POST("/api/unhide")
Call<String> unhide(@HeaderMap Map<String, String> headers, @FieldMap Map<String, String> params);
 
Example #28
Source Project: Infinity-For-Reddit   Author: Docile-Alligator   File: RedditAPI.java    License: GNU Affero General Public License v3.0 4 votes vote down vote up
@FormUrlEncoded
@POST("/api/favorite")
Call<String> favoriteThing(@HeaderMap Map<String, String> headers, @FieldMap Map<String, String> params);
 
Example #29
Source Project: Infinity-For-Reddit   Author: Docile-Alligator   File: RedditAPI.java    License: GNU Affero General Public License v3.0 4 votes vote down vote up
@FormUrlEncoded
@POST("/api/multi/favorite?raw_json=1&gilding_detail=1")
Call<String> favoriteMultiReddit(@HeaderMap Map<String, String> headers, @FieldMap Map<String, String> params);
 
Example #30
Source Project: Infinity-For-Reddit   Author: Docile-Alligator   File: RedditAPI.java    License: GNU Affero General Public License v3.0 4 votes vote down vote up
@FormUrlEncoded
@POST("/api/multi/multipath")
Call<String> createMultiReddit(@HeaderMap Map<String, String> headers, @FieldMap Map<String, String> params);