Posting to API failure

Then it can’t be the payload it is exactly the same…

Wait i just realized you aren’t serialzing your dynamic object response.!!! This assumes body is a JSON String and it isn’t any more once you make a dynamic object

Change it to this

var settings = new JsonSerializerSettings() { NullValueHandling = NullValueHandling.Ignore };
request.AddParameter("application/json", JsonConvert.SerializeObject(body, settings), ParameterType.RequestBody);
1 Like

That worked. Thank you so much!

Kind Regards,

Ricky Horne
IT Manager