Hi,
I am connecting to Dynamic NAV 2018 oData service (page webservice) for posting some data in the journal. The problem is if there is any invalid data sent somehow it is not responding with proper error message and code, it is always responding with 400 'Bad Request'
I am using httpClient to make the request with Json data,
var response = await httpClient.PostAsync(endpoint, stringContent);
return Json(response);
But if I test the Soap service taking web reference then I am getting the error response with proper message, Any idea please?
*This post is locked for comments
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156