Add initial support for adding rest request in the mock service