allow mock request to be used with apps created in lua api