Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] HTTP API 接口,配置请求Headers:Authorization发送请求,状态码提示401 #1941

Open
1 task done
liuyang77886 opened this issue May 9, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@liuyang77886
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

我使用postman可以通过请求,正常返回数据。需要携带Headers:Authorization,端口,请求相对路径,Content-Type,body这些都和postman一致。
HTTP API 接口不携带Headers请求的接口正常返回

Expected Behavior

期望请求失败时,控制台打印curl格式的请求信息

Steps To Reproduce

No response

Environment

HertzBeat version(s):1.5.0最新版本

Debug logs

No response

Anything else?

No response

@liuyang77886 liuyang77886 added the bug Something isn't working label May 9, 2024
@liuyang77886
Copy link
Author

liuyang77886 commented May 9, 2024

@tomsun28
Copy link
Contributor

tomsun28 commented May 9, 2024

you chose the basic auth, but not input the username password

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

No branches or pull requests

2 participants