In postman I issue a request with the following body against `http://localhost:2000/api/ProductQuality/Check`:
```json
{
"productid": "2274",
"productcorenumber": "1321",
"value": "AE1C1F-0363-D6F-B3D-AE0029A8",
"contacts": [
15998,
1012
],
"ispassed": "0",
"isok": "0",
"isgood": "false"
}
```
and this will come to here(I have one method in my controller)
```cs
[HttpPost("api/ProductQuality/Check")]
public async Task Check([FromBody] CheckInput input)
{
var result = await _Checker.Checkercall(input);
}
```
in `Checkercall` implementation I am calling another API(as of now calling the same for testing purposes)
```cs
public async Task Checkercall(CheckInput input)
{
QualityCheckResults QualityCheckInputResult = new QualityCheckResults();
using (var httpClient = new HttpClient())
{
var content = new StringContent(JsonConvert.SerializeObject(input), Encoding.UTF8, "application/json");
using (var response = await httpClient.PostAsync("https://localhost:2001/api/ProductQuality/Check", content))
//hope i have to give https here
{
string apiResponse = await response.Content.ReadAsStringAsync();
QualityCheckInputResult = JsonConvert.DeserializeObject(apiResponse);
}
}
return QualityCheckInputResult;
}
```
I am getting Unhandled Exception here but I couldn't understand the issue.

Sachin SinghRank #66 · 26.2K reputationPosted Feb 4, 2021, 10:13 AM EST
Rijwan AnsariRank #82 · 24.2K reputationPosted Feb 4, 2021, 11:21 PM EST
Sachin SinghRank #66 · 26.2K reputationPosted Feb 4, 2021, 8:49 AM EST
Sujeet RamanRank #1,329 · 1.3K reputationPosted Feb 4, 2021, 8:54 AM EST
Salman BegRank #284 · 8.8K reputationPosted Feb 4, 2021, 9:23 AM EST
Sujeet RamanRank #1,329 · 1.3K reputationPosted Feb 4, 2021, 10:28 AM EST
Sachin SinghRank #66 · 26.2K reputationPosted Feb 4, 2021, 10:40 AM EST
Sujeet RamanRank #1,329 · 1.3K reputationPosted Feb 4, 2021, 11:04 PM EST