使用邮递员模拟服务器时出现问题。它不响应具有路由参数的请求。例如,我的 uri 如下所示:
PUT : {{server_url}}/order/{id}
但是当我以这种方式调用模拟服务器时:
{{mock_server}}/order/{id}
或者
{{mock_server}}/order/1 or any other examples
模拟服务器响应是:
{
"error": {
"name": "mockRequestNotFoundError",
"message": "We were unable to find any matching requests for this method type and the mock path, '/fa/order/', in your collection."
}
}
任何机构可以帮助我吗?