i need to pass binarydata with json values
public async Task PostDocuments()
{
var client = new HttpClient();
var url = CoreCommon.GetAppSetting("DRS_API_BASE") + "v1/Documents";
HttpResponseMessage response = client.PostAsync(url, Request.Content).Result;
return response;
}
i have tried this code but getting 500 error in postman
{
"message":"For input string: \"??""A"µ"S8}\"",
"data": null
}

Gopaiah NekarukantiRank #2,077 · 695 reputationPosted Dec 11, 2019, 7:40 PM EST