K klarsys Active Member Licensed User Longtime User Aug 31, 2016 #1 I want to get HTTP return code to check success, failure, type of failure. How do I get returned HTTP code (200, 404, 500, etc) in JobDone function?
I want to get HTTP return code to check success, failure, type of failure. How do I get returned HTTP code (200, 404, 500, etc) in JobDone function?
Erel B4X founder Staff member Licensed User Longtime User Aug 31, 2016 #2 Job.Success will only return true for 2xx status codes. The status code is available in hc_ResponseSuccess. You can add a field to HttpJob and store it. Upvote 0
Job.Success will only return true for 2xx status codes. The status code is available in hc_ResponseSuccess. You can add a field to HttpJob and store it.