我收到以下错误响应:
{
"error": {
"name": "mockRequestNotFoundError",
"header": "No matching requests",
"message": "Double check your method and the request path and try again."
}
}
当我将-
作为通过模拟服务器创建的Postman请求的URI参数传递时,与我在未通过模拟服务器创建的请求中传递相同的URI参数值时,它运行良好!
URL:http://{{host}}/order/{{subUserId}}/{{BusinessDate}}/5
主机:{mocking-server-url-without-http-keyword}
subUserId:1
BusinessDate:2020-01-12-17-07-21
HTTP请求标头:x-api-key
:{{postman_secret_API_key}}
通过使用模拟服务器作为主机来正确返回数据的主要请求:
通过使用模拟服务器作为主机来返回错误的模拟请求: