我开发了一个微服务,它的响应是:
http://localhost:8080/aggregator?email=myemail@email.com
当我遇到一个
库伯内特斯
这样做:
minikube service aggregator --url
还给我
http://192.168.99.100:32482
但在邮递员身上如果我做了GET请求:
http://192.168.99.100:32482/aggregator?email=myemail@email.com
我得到以下错误:
{
"timestamp": "2018-09-05T15:32:58.269+0000",
"status": 500,
"error": "Internal Server Error",
"message": "URI is not absolute",
"path": "/"
}
http://192.168.99.100:32482/aggregator/#?email=myemail@email.com
它认识到它需要查询参数“email”,但不认识它,因为它返回给我:
{
"timestamp": "2018-09-05T15:40:23.453+0000",
"status": 400,
"error": "Bad Request",
"message": "Required String parameter 'email' is not present",
"path": "/aggregator/"
}
我错过了什么?