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

HTTP 请求使用 HEAD 方法,返回响应码为 404 #19

Closed
aoestone opened this issue Sep 25, 2023 · 4 comments
Closed

HTTP 请求使用 HEAD 方法,返回响应码为 404 #19

aoestone opened this issue Sep 25, 2023 · 4 comments

Comments

@aoestone
Copy link

aoestone commented Sep 25, 2023

作者你好,我有时可能需要使用 HEAD 方法只获取响应头而不获取文件内容,但响应的状态码是 404,例如:https://meting-ve.2333332.xyz/api?server=netease&type=url&id=1390417840

image

@xizeyoupan
Copy link
Owner

6bf840b

@aoemon
Copy link

aoemon commented Sep 25, 2023

大佬每次都处理很快,感谢!我试了下大佬部署的服务没有问题,但尝试自己部署时出现函数调用失败的错误,截图如下:

image

image

@xizeyoupan
Copy link
Owner

大佬每次都处理很快,感谢!我试了下大佬部署的服务没有问题,但尝试自己部署时出现函数调用失败的错误,截图如下:

image

image

你是怎么部署的,访问的url是什么?另外默认api路径是/api

@aoemon
Copy link

aoemon commented Sep 25, 2023

我是通过点击 README 文档中给出的 Vercel 部署按钮,然后直接创建的。我刚才又尝试部署了一个,以下是访问 https://meting-api2.vercel.app/api 的报错信息:

image

Repository owner locked and limited conversation to collaborators Jun 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants