new get method and path in rest request