Hi all,
We need to call a REST service in order to send some JSON content.
Sometimes after calling SendRequest, GetResponseStatusCode returns "-1" and GetResponseStatusText returns an empty string, but the JSON content was successfully sent.
This is confusing, because as GetResponseStatusCode did not returned the OK code "200", we show an error message even if the operation was successful.
Does anyone know what this "-1" code means ?
Thank you for your help.