retrofit / retrofit2.http / POST

POST

@Target([AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER]) class POST

Make a POST request.

Constructors

<init>

POST(value: String)

Make a POST request.

Properties

value

val value: String

A relative or absolute path, or full URL of the endpoint. This value is optional if the first parameter of the method is annotated with @Url.