【发布时间】:2020-06-17 18:26:39
【问题描述】:
实际上我使用 apache camel 创建了 rest api。它是一个获取电话。
这样的请求路径 -> users/names/{username}?client={clientId}
我们将尝试给用户名是这样的西班牙语文本 -> users/names/plánia?client=100
错误请求
之类的抛出错误{
"timestamp": "2020-06-17T16:06:25.609+0000",
"status": 400,
"error": "Bad Request",
"message": "Illegal Argument Specified in the Request Headers or Path",
"path": "/users/names/plánia"
}
【问题讨论】:
-
确保你理解
@RequestParamvs@PathVariablestackoverflow.com/questions/13715811/…
标签: spring-boot rest apache-camel