POST

@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class POST(@Language(value = "http-url-reference") val value: String = "")

Make a POST request

@POST("issue")
suspend fun postIssue(@Body issue: Issue)

Properties

Link copied to clipboard

Relative or absolute URL of the endpoint.