---
title: "postText"
sidebar_label: "postText"
description: "Kotlin binding reference: postText."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

//[clika-runtime](../../../index.md)/[io.clika.runtime](../index.md)/[Http](index.md)/[postText](postText.md)

# postText

[common]\
fun [postText](postText.md)(url: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), body: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), contentType: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html) = &quot;application/json&quot;, options: [DownloadOptions](../DownloadOptions/index.md) = DEFAULTS): [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)

POST [body](postText.md) to [url](postText.md) with [contentType](postText.md) and answer the response body as text.