Loading [MathJax]/jax/output/CommonHTML/config.js
首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
社区首页 >问答首页 >You don't have permission to access <URL> on this server 如何解决?

You don't have permission to access <URL> on this server 如何解决?

提问于 2023-09-01 07:47:29
回答 1关注 0查看 683

通过curl访问https://api-cn.louisvuitton.cn/api/zhs-cn/catalog/skuavailability/接口,提示“You don't have permission to access xxx”,但在本地使用相同curl语句,或者在腾讯云访问其他网址均无此问题。是有一些ip黑白名单或者防火墙一类的限制吗?

curl语句如下

c-u-r-l 'https://api-cn.louisvuitton.cn/api/zhs-cn/catalog/skuavailability/M71040'

-H 'authority: api-cn.louisvuitton.cn'

-H 'accept: */*'

-H 'accept-language: zh-CN,zh;q=0.9'

-H 'content-type: text/plain'

-H 'origin: https://www.louisvuitton.cn'

-H 'referer: https://www.louisvuitton.cn/zhs-cn/products/carryall-pm-monogram-nvprod3770016v/M46203'

-H 'sec-ch-ua: "Google Chrome";v="113", "Chromium";v="113", "Not-A.Brand";v="24"'

-H 'sec-ch-ua-mobile: ?0'

-H 'sec-ch-ua-platform: "macOS"'

-H 'sec-fetch-dest: empty'

-H 'sec-fetch-mode: cors'

-H 'sec-fetch-site: same-site'

-H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36'

--compressed

或者有别的方式和API可以获取到相应的数据吗?

回答 1

一凡sir

发布于 2023-09-02 03:08:07

api-cn.louisvuitton.cn/api/zhs-cn/catalog/skuavailability/M71040

接口服务端限制了请求用户的身份

和开发者交流更多问题细节吧,去 写回答
相关文章
MAMP “403 Forbidden You don’t have permission to access / on this server.”
用MAMP搭建本地服务器的时候,设置好ip和端口等属性之后,浏览器访问,报 403错误:
全栈程序员站长
2021/12/23
7220
wamp出现You don’t have permission to access/on this server提示
本地搭建wamp,输入http://127.0.0.1访问正常,当输入http://localhost/,apache出现You don’t have permission to access/on this server.的提示,如何解决?
CrazyCodes
2018/09/18
4K0
Apache提示You don't have permission to access / on this server的解决
今天为了方便测试 将一本地目录设置为一apache的虚拟主机, 在httpd-vhosts.conf文件中进行简单设置, 然后在hosts文件中将访问地址指向本地,启动apache,进行访问, 却出现了You don't have permission to access / on this server的提示, 排查是因为我的虚拟主机目录为非apache安装目录下的htdocs,所以违反了apache对默认对网站根访问权限。 apache的默认虚拟主机根目录地址为../Apache Software Foundation/Apache2.2/htdocs 目录下, 需要对httpd.conf文件进行修改才能指向其他目录。
云知识Online
2018/05/03
2K0
You do not have permission to get URL ‘/’ from this server解决方案
配置腾讯云CDN后,网站无法打开,显示 You do not have permission to get URL ‘/’ from this server. 接入cdn返回403的原因: 1、ip黑白名单 2、防盗链 关闭防盗链后,刷新页面,就能正常了。
陌涛
2020/06/11
2.6K0
Ubuntu 14.04 上 Fig 出现 client and server don’t have same version 问题及解决办法
在Ubuntu14.04上正确安装的Docker和Fig后,Docker可以正常使用,但是在使用Fig的时候出现下面的错误
星哥玩云
2022/07/04
2980
解决Please make sure you have the correct access rights and the repository exists 问题.
~感谢志同道合的你阅读, 你的支持是我学习的最大动力 ! 加油 ,陌生人一起努力,共勉!!
全栈程序员站长
2022/09/18
2.1K0
解决Please make sure you have the correct access rights and the repository exists 问题.
【Git】Please make sure you have the correct access rights
这个问题有点奇怪,然后在云开发机上测试了一下,发现 ssh key 是没问题的,就没有继续往 ssh key 的方向去想了。然后开始怀疑网络问题,因为公司网络策略的问题,内网和外网通过 VPN 访问公司局域网是有差异的,怀疑是做了 ip 等限制。另外就是我的 .gitconfig,是有特殊配置的,也就是所有 https 都会转换成 ssh 请求。
runzhliu
2021/05/27
1.3K0
21. 精读《Web fonts: when you need them, when you don’t》
本期精读让我们来聊一聊Web Fonts,文章地址:https://hackernoon.com/web-fonts-when-you-need-them-when-you-dont-a3b4b39fe0ae
黄子毅
2022/03/14
5530
21. 精读《Web fonts: when you need them, when you don’t》
git出错:“Please make sure you have the correct access rights and the repository exists.
ssh 需要重置 1、充值用户名和邮箱 git config --global user.name “yourname” git config --global user.email“your@email.com" 注:yourname是你要设置的名字,your@email是你要设置的邮箱。 2、删除.ssh文件夹下的known_hosts 3、git输入命令 $ ssh-keygen -t rsa -C "your@email.com"(请填你设置的邮箱地址) 一路yes和回车 然后系统会自动在.ssh文件夹下生成两个文件,id_rsa和id_rsa.pub,用记事本打开id_rsa.pub 将全部的内容复制 4、打开https://github.com/,登陆你的账户,进入设置 进入ssh设置 在key中将刚刚复制的粘贴进去 点击add ssh key,
IT云清
2020/01/13
46.5K0
git出错:“Please make sure you have the correct access rights and the repository exists.
SPNS KNOW WHAT THEY DON’T KNOW
Probabilistic Deep Learning using Random Sum-Product Networks
CreateAMind
2023/02/14
2410
SPNS KNOW WHAT THEY DON’T KNOW
限定某个目录禁止解析php+限制 user_agent
限定某个目录禁止解析php : 实例解析: 有这样一种情况,有些站点和论坛是允许上传图片到服务器,但是这就给黑客留下了可进入服务器的大门,他们上传一些php或者js到服务器,然后被我们执行加载,有些函数可以让黑客获取最大的权限,从而对数据造成威胁! 为了避免这种事情的发生,我们需要限制上传类型。 配置: 在虚拟服务器中增加如下配置: <Directory /data/wwwroot/test3.com/upload> php_admin_flag engine off <Fi
老七Linux
2018/05/09
2.8K0
蓝鲸:主机频繁提示“You have new mail in /var/spool/mail/root” 定位解决
前些天安装蓝鲸的测试环境频繁出现You have new mail in /var/spool/mail/root,查看发现是/usr/local/gse/agent/bin/gsectl: line 19: ip: command not found,查了下报错频率基本上是每分钟报错一次。
Alfred Zhao
2020/03/09
1.5K0
完美解决 ERROR 1064 (42000): You have an error in your SQL syntax
1、在MySQL命令行使用sql语句进行建表时,MySQL 报错,这个问题之前遇到过几次,但是总是会因为疏忽又相遇,今天把这个问题写出来,加深印象吧。
软件小生活
2021/08/16
58.5K0
完美解决 ERROR 1064 (42000): You have an error in your SQL syntax
[认证授权] 6.Permission Based Access Control
那么当我们得到OAuth2的Access Token或者OIDC的Id Token之后,我们的资源服务如何来验证这些token是否有权限来执行对资源的某一项操作呢?比如我有一个API,/books,它具有如下5个操作: POST /books 添加一本书 GET /books/{id} 获取一本书 PUT /books/{id} 更新一本书 DELETE /books/{id} 删除一本书 GET /books   获取书的列表 其伪代码如下: [Route("books")]
blackheart
2018/01/19
1K0
[认证授权] 6.Permission Based Access Control
Apache httpd 目录列表禁用配置(options indexes)
Apache httpd服务器在缺省的情况下,开启了基于目录列表的访问,这是一个存在安全隐患的问题,因此可以关闭这个功能。在Apache 2.4的版本中,不在支持使用-indexes来配置,需要注释该功能。本文对此给出演示,供大家参考。
Leshami
2018/08/06
1.6K0
Apache httpd 目录列表禁用配置(options indexes)
Permission denied: user=root, access=WRITE
hive> create database bbs; FAILED: Error in metadata: MetaException(message:Got exception: org.apache.hadoop.security.AccessControlException Permission denied: user=root, access=WRITE, inode="/user/hive/warehouse":hadoop:hadoop:drwxrwxr-x 原因:本地用户administra
闵开慧
2018/04/02
2K0
Haystack - hack the box
HayStack is an easy box in hack the box. But it does isn't easy at all. It's annoying to find the user and password in the messy Spanish. For the root, you should have a basic understanding of ELK. Hence, the box is quite fresh in htb.
madneal
2019/12/13
9740
CentOS 6自动安装RabbitMQ脚本
版权声明:本文为木偶人shaon原创文章,转载请注明原文地址,非常感谢。 https://blog.csdn.net/wh211212/article/details/53891965
shaonbean
2019/05/26
5410
git报错:Pull is not possible because you have unmerged files解决方法
本地的push和merge会形成MERGE-HEAD(FETCH-HEAD), HEAD(PUSH-HEAD)这样的引用。HEAD代表本地最近成功push后形成的引用。MERGE-HEAD表示成功pull后形成的引用。可以通过MERGE-HEAD或者HEAD来实现类型与svn revet的效果。
星哥玩云
2022/06/18
2.4K0
点击加载更多

相似问题

You do not have permission to get URL?

11.4K

Pyspider Jinja2>=2.10, you have jinja2 2.7.2 ?

53.2K

java连接MySQL数据库报错You have an error in your SQL?

1231

code":200100,"message":"url have no query strings?

1384

图片鉴黄接口报错"code":3,"message":"don't find appid ……"?

3719
相关问答用户
平安资管 | 架构师擅长4个领域
擅长3个领域
腾讯云TDP | 高级后端开发工程师擅长3个领域
擅长5个领域
添加站长 进交流群

领取专属 10元无门槛券

AI混元助手 在线答疑

扫码加入开发者社群
关注 腾讯云开发者公众号

洞察 腾讯核心技术

剖析业界实践案例

扫码关注腾讯云开发者公众号
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档