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
提供类似 Obsidian requestUrl 的方法 #8702
Comments
axios请求库或许可以解决? |
可以提供一些示例吗?我尝试过直接在 header 加 Cookie 但是不行。会报错 Refused to set unsafe header "cookie"。似乎是因为XMLHttpRequest 不允许设置某些标头,包括 Cookie
我还尝试过用 fetch 发送请求,但是 Cookie 会被过滤
|
Ref #8724 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In what scenarios do you need this feature?
微信读书 Cookie 需要在请求中携带旧 Cookie才能更新。
Obsidian 的插件 使用 requestUrl | Obsidian 插件开发文档 方法实现这个功能
思源能否提供类似的方法?
Describe the optimal solution
提供没有跨域限制
Describe the candidate solution
No response
Other information
No response
The text was updated successfully, but these errors were encountered: