D Derek Jee Active Member Licensed User Longtime User Sep 30, 2015 #1 Hello there I wonder if anyone can explain the ReturnID on a HTTP request. I am assuming that it is something where I can pass a value to the job done to finalise processing. I have tried populating it but the jobdone job.ReturnID is always empty.. Am I using it correctly? I basically want to use an id which I am sending in the HTTP request in the job done.. I am using HTTPUtils2.. Many thanks, Derek.
Hello there I wonder if anyone can explain the ReturnID on a HTTP request. I am assuming that it is something where I can pass a value to the job done to finalise processing. I have tried populating it but the jobdone job.ReturnID is always empty.. Am I using it correctly? I basically want to use an id which I am sending in the HTTP request in the job done.. I am using HTTPUtils2.. Many thanks, Derek.
Erel B4X founder Staff member Licensed User Longtime User Sep 30, 2015 #2 I'm not familiar with ReturnID. Where do you see it? You can use Job.Tag to store any data you like and later retrieve it. Upvote 0
I'm not familiar with ReturnID. Where do you see it? You can use Job.Tag to store any data you like and later retrieve it.
D Derek Jee Active Member Licensed User Longtime User Sep 30, 2015 #3 In the JobDOne sub if you type Job. you get ReturnID in the list.. So I can populate the Job.Tag in the request code and retrieve it in the JobDone code? Thank you Erel Upvote 0
In the JobDOne sub if you type Job. you get ReturnID in the list.. So I can populate the Job.Tag in the request code and retrieve it in the JobDone code? Thank you Erel
Erel B4X founder Staff member Licensed User Longtime User Sep 30, 2015 #4 Are you using HttpUtils2 library? There is no ReturnID there. Derek Jee said: So I can populate the Job.Tag in the request code and retrieve it in the JobDone code? Click to expand... Yes. Upvote 0
Are you using HttpUtils2 library? There is no ReturnID there. Derek Jee said: So I can populate the Job.Tag in the request code and retrieve it in the JobDone code? Click to expand... Yes.
D Derek Jee Active Member Licensed User Longtime User Sep 30, 2015 #5 Hi Erel I am using the HTTPUtils2 library. Oh.. can I put one? as I am using the job.tag for the status code which comes from the server.. Upvote 0
Hi Erel I am using the HTTPUtils2 library. Oh.. can I put one? as I am using the job.tag for the status code which comes from the server..
Erel B4X founder Staff member Licensed User Longtime User Sep 30, 2015 #6 Use a custom type to store all the information you need. Code: Copy Type JobData (StatusCode As Int, OtherData As String) Upvote 0
Use a custom type to store all the information you need. Code: Copy Type JobData (StatusCode As Int, OtherData As String)
D Derek Jee Active Member Licensed User Longtime User Sep 30, 2015 #7 Thank you Erel.. I now pass a new argument with the Job.Initialise which has solved it for us.. Upvote 0
D Derek Jee Active Member Licensed User Longtime User Sep 30, 2015 #8 Erel said: Are you using HttpUtils2 library? There is no ReturnID there. Yes. Click to expand... ps I have a returnID in my HTTPUtils2 library.. and HTTPJob.. Upvote 0
Erel said: Are you using HttpUtils2 library? There is no ReturnID there. Yes. Click to expand... ps I have a returnID in my HTTPUtils2 library.. and HTTPJob..