Skip to content

postWithHeaders

//fluxbase-kotlin/io.github.nimbleflux.fluxbase.core/FluxbaseHttpClient/postWithHeaders

[jvm]
suspend fun postWithHeaders(path: String, body: Any? = null, headers: Map<String, String> = emptyMap()): HttpResponse

POST that also returns response headers. Mirrors postWithHeaders in fetch.ts.