bodyJson
@ExperimentalSerializationApi
Encodes the given value as the body of the request.
Parameters
value
information to be encoded
json
(optional) JSON serialization configuration
@ExperimentalSerializationApi
Encodes the given value as the body of the request.
Parameters
value
information to be encoded
serializer
serializer from kotlinx-serialization
json
(optional) JSON serialization configuration