You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var xMsg = await api.PostAsync < HttpResponseMessage > (link, object);
the xMsg always come (NULL)
noting that , Fiddler shows to me the request and the response are correct and the Status Code is 201 but once it receive to the client it came as NULL
The text was updated successfully, but these errors were encountered:
Sorry for the delay in getting back to you. Did you solve this already? The issue here is that PostAsync<T> tries to deserialise the response body into an object of type T. xMsg is probably NULL because the response body is empty. On top of that you won't be able to deserialise the response body into an HttpResponseMessage - you should create your own class that matches the JSON content of the response.
Hi ,
if i use :
var xMsg = await api.PostAsync < HttpResponseMessage > (link, object);
the xMsg always come (NULL)
noting that , Fiddler shows to me the request and the response are correct and the Status Code is 201 but once it receive to the client it came as NULL
The text was updated successfully, but these errors were encountered: