SendMessage

@POST(value = "send")
abstract fun SendMessage(@HeaderMap headers: HashMap<String, String>, @Body messageBody: String): Call<String>

Send a message to a specified endpoint.

Return

A Retrofit Call representing the network request.

Parameters

headers

The headers to include in the request.

messageBody

The message content to send in the request body.