Ok, at least this discussion is possibly leading to improvements.
We need to get our REST implementation to the point where a programmer can put almost anything in there and it won't affect other stuff like what your code is doing. AVFP scripts are like that now.
So I took a look at our REST implementation:
https://activevfp.codeplex.com/SourceControl/latest#avfp6.03_source/prg/resthelper.prg
It's not using the SESSION class and there is no default ERROR handler. These should be implemented in the next release.
We need to get our REST implementation to the point where a programmer can put almost anything in there and it won't affect other stuff like what your code is doing. AVFP scripts are like that now.
So I took a look at our REST implementation:
https://activevfp.codeplex.com/SourceControl/latest#avfp6.03_source/prg/resthelper.prg
It's not using the SESSION class and there is no default ERROR handler. These should be implemented in the next release.