- Sabir Foux
- PowerServer 2020 or older (Obsolete)
- Sunday, 8 September 2019 02:28 AM UTC
Problem: The web app we've deployed to localhost on our virtual server cannot make a Rest call. It returned with status code -1 but returns no status code text.
Question: Has anyone encountered a RestClient status code of -1 with no status code text returned with it?
Note: It works just fine when running the app from the PowerBuilder IDE.
This one has me stumped. Mostly because RestClient.GetResponseStatusText() is returned empty when it makes a call to the third party api I'm using. However when I click the run window button in the powerbuilder IDE it works just fine.
Thank you for any advice, tips, or suggestions you may have.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.