1. Robert Trifu
  2. PowerBuilder
  3. Thursday, 31 October 2024 09:26 AM UTC

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.



There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.