unity-experiment-framework icon indicating copy to clipboard operation
unity-experiment-framework copied to clipboard

Is there a way to access whether HTTP POST Request was successfull?

Open JAQuent opened this issue 3 years ago • 2 comments

I want to add a post-experimental screen whether their data was successfully send to my server but no matter what I try nothing seems to work. Is that possible to access any kind of variable about this?

JAQuent avatar May 18 '22 02:05 JAQuent

I think, currently there is no direct way o do this, but it is a good suggestion. The only way would be to hook into the error messages that will be thrown if each upload is unsuccessful.

jackbrookes avatar May 19 '22 07:05 jackbrookes

Currently I just wait a minute before I close the application and hope that the few MB of data was actually uploaded. It would definitely be nice but I completely struggled to get this done myself.

JAQuent avatar May 19 '22 07:05 JAQuent