I sent a HTTP request to a server and need to process data on the device whether it is successful or not. When I create the job is there a way of getting the tasked in the requesting sub and also in the jobdone sub. My server is not behaving and not sending the response body for some error codes and i'd really like to return a value and process that but I can't. So ideally id like the tasked at sending and jobdone.. (or any other ideas would be great too..)
I sent a HTTP request to a server and need to process data on the device whether it is successful or not. When I create the job is there a way of getting the tasked in the requesting sub and also in the jobdone sub. My server is not behaving and not sending the response body for some error codes and i'd really like to return a value and process that but I can't. So ideally id like the tasked at sending and jobdone.. (or any other ideas would be great too..)
Yes I am using this. I had a server issue which was not allowing the body to be sent with codes of 400 and greater. I have fixed this now and get the response, and am in the middle of implementing it.. Thanks for the heads up..