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

无状态服务器发送消息返回401 #14

Closed
liudaolunboluo opened this issue Mar 29, 2021 · 2 comments
Closed

无状态服务器发送消息返回401 #14

liudaolunboluo opened this issue Mar 29, 2021 · 2 comments
Labels
question Further information is requested

Comments

@liudaolunboluo
Copy link

liudaolunboluo commented Mar 29, 2021

浏览器访问http://ip:port/v1/sender/?text=hellp返回{"msg":"invalid token","res":401} 换成postman访问之后仍然返回{"msg":"invalid token","res":401}

@LitSummer
Copy link

你的token不对,你去app里,频道右滑,点进去了的token才是需要的token,不是你设置中的用户或者设备那两栏

@wizjin
Copy link
Contributor

wizjin commented Mar 29, 2021

@liudaolunboluo 需要token才能访问,

http://ip:port/v1/sender/?text=hellp&token=<你的token>

@wizjin wizjin added the question Further information is requested label Mar 29, 2021
@wizjin wizjin closed this as completed Mar 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants