Sorry , I am new in web api actually when I am running my API on postman the response is correct.but when i am implementing in code its giving internal server code error.
- var gizmo = new Product() { ChannelId= "948404"};
- HttpResponseMessage response = await client.PostAsJsonAsync("https://xxx-xxxxxx-api.xxx.co/api/bills, , gizmo);
- if (response.IsSuccessStatusCode)
- {
- }

Rohit RaoRank #2,002 · 726 reputationPosted Sep 18, 2020, 10:18 AM EDT
Rohit RaoRank #2,002 · 726 reputationPosted Sep 18, 2020, 5:03 AM EDT
Pradeep RawatRank #5,709 · 289 reputationPosted Sep 18, 2020, 9:53 AM EDT
Pradeep RawatRank #5,709 · 289 reputationPosted Sep 18, 2020, 10:44 AM EDT
Rohit RaoRank #2,002 · 726 reputationPosted Sep 18, 2020, 10:45 PM EDT
Pradeep RawatRank #5,709 · 289 reputationPosted Sep 19, 2020, 2:29 AM EDT
>(jsonString);