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

🐛 Fix the problem of gitee upload error 403 #249

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ThinkerWen
Copy link

gitee图床上传图片失败,抓包如下:
显示403Forbidden
image
排查原因,修改请求参数:
移除默认User-Agent后上传成功:
image
响应正常:
image
Gitee 官方文档POST样例(Default无UA):
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant