retrofit.http
Annotation Type FormUrlEncoded


@Target(value=METHOD)
@Retention(value=RUNTIME)
public @interface FormUrlEncoded

Denotes that the request body will use form URL encoding. Fields should be declared as parameters and annotated with @Field.

Requests made with this annotation will have application/x-www-form-urlencoded MIME type. Field names and values will be UTF-8 encoded before being URI-encoded in accordance to RFC-3986.



Copyright © 2013 Square, Inc.. All Rights Reserved.