400 Bad Request(Required String parameter ‘xxx‘ is not present)
程序员文章站
2022-07-15 13:07:15
...
最近和后端对接时候遇到了遇到了Required String parameter ‘xxx’ is not present;
后找到解决方法:
export const delSelectArticleApi = (params, query) => {
return request({
url:'xxxxxxxxxxxxxxxxx',
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
data: query,
params: params
})
}
推荐阅读
-
报错: required string parameter XXX is not present
-
请求报错Required String parameter 'xxx' is not present
-
Required String parameter 'XXX' is not present
-
400 Bad Request(Required String parameter ‘xxx‘ is not present)
-
Spring Boot解决Required String parameter xxx is not present类型异常
-
HTTP Status 400 - Required CommonsMultipartFile[] parameter 'XXX' is not present
-
There was an unexpected error(type=Bad Request,status=400).Required String parameter'username' isnot
-
Required String parameter 'xxx' is not present
-
spring boot Required request parameter ‘xxx‘ for method parameter type xxx is not present