【发布时间】:2021-12-25 11:06:34
【问题描述】:
应用程序是 Java 语言。 应用程序.yml
server:
port: 9000
平台属性
jwt.secret="......."
jwt.expiration.time=864000000
jwt.header.prefix=Bearer
jwt.header=my_token
控制器
@PostMapping("/login")
public Result login(@RequestBody LoginRequestDto user){
return userService.login(user);
}
我正在尝试从 Postman 向 http://188.130.139.104:9000/login 发送 POST 请求
我填写了用户名和密码字段 结果,我得到了
Could not send request
【问题讨论】:
-
您确定可以联系到
181.121.132.101吗? -
我不明白。我修复了IP