Set Bytearraycontent Content Type Json

[Solved] Set Bytearraycontent Content Type Json | Kotlin - Code Explorer | yomemimo.com
Question : set ByteArrayContent content type json

Answered by : tomer-zaks

content.Headers.ContentType = new MediaTypeHeaderValue(MediaTypeNames.Application.Json);

Source : https://stackoverflow.com/questions/10679214/how-do-you-set-the-content-type-header-for-an-httpclient-request | Last Update : Tue, 15 Mar 22

Answers related to set bytearraycontent content type json

Code Explorer Popular Question For Kotlin