read

abstract fun read(): TEntity

Returns the entity.

Throws

when the server responds with HttpStatusCode.Forbidden.

for other non-success status codes.