Oct 29, 2018 01:10 PM|PatriceSc|LINK
Seems you have two problems here.
1) What if you return IHttpActionResult and use return ResponseMessageResult(response); You are using Web API 2 ? For now my understanding is that using the XZZ API from js work and
that this API call might work well except that there is some confusion between the actual http response and the .NET object that allows to access this response (currently you return this serialized object).
2) If the XZZ API really fails but returns 200 OK is this under your control ? If not I'm not sure you can do much rather than to report them (unless you think it fails because the
result is not what you expected because of #1 ?)