“拒绝访问 |<网址>使用 Cloudflare 限制访问"GET 请求邮递员 [英] "Access denied | <url> used Cloudflare to restrict access" GET request Postman

查看:47
本文介绍了“拒绝访问 |<网址>使用 Cloudflare 限制访问"GET 请求邮递员的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在使用 Postman 测试 GET 请求.我只是想看看我能得到什么样的信息.大多数情况下,只需插入网站的网址即可.但是,有一个特定的网站给我带来了麻烦.当我尝试发起 GET 请求时,出现以下错误:

I am currently testing out GET requests with Postman. I just want to see the kind of information I can get back. Simply plugging in the url for a website works for the most part. However, there is a particular website that is giving me trouble. When I try to initiate the GET request, I am given the following error:

<title>Access denied | <url> used Cloudflare to restrict access</title>
<meta charset="UTF-8" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
<meta name="robots" content="noindex, nofollow" />
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1" />
<link rel="stylesheet" id="cf_styles-css" href="/cdn-cgi/styles/cf.errors.css" type="text/css"
    media="screen,projection" />
<!--[if lt IE 9]><link rel="stylesheet" id='cf_styles-ie-css' href="/cdn-cgi/styles/cf.errors.ie.css" type="text/css" media="screen,projection" /><![endif]-->

直接在 Chrome 中启动时,该网站运行良好.但是,每次我尝试在 Postman 中发送 GET 时,都会收到 403 响应.我已经尝试了一些解决方案:

The website works fine when launched directly in Chrome. However, every time I try to sent the GET in Postman, I get the Response 403. I've tried a few solutions already:

  • 复制并粘贴 Chrome Inspect 工具(Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36)中显示的用户代理.
  • 设置状态为INTERCEPTOR CONNECTED"的邮递员拦截系统.还在我的 Chrome 扩展程序中安装了该插件.
  • 为网站启用 cookie.

无论如何,如果我遗漏了一些明显的问题,或者您需要更多信息,请联系我们!我尽量不分享该网站的直接链接,但如果没有其他方法,我会分享.

Anyway, if I'm missing some glaringly obvious problem or you require more information, please reach out! I'm trying not to share the direct link to the website but I will if there's no other way.

推荐答案

网站正在使用 Cloudflare 这是一种安全和内容交付产品.

The website is using Cloudflare which is a security and content delivery product.

使用 Cloudflare 时,网站的所有流量都会首先通过 Cloudflare,并在其中进行各种安全检查.这是一个行业领先的系统,具有许多复杂的检查,其中大部分可以由客户针对他们的特定网站进行配置.它有助于防止网站上的恶意机器人和攻击等事情.

When Cloudflare is used, all traffic to the website goes through Cloudflare first, where various security checks are made. This is an industry leading system which has many sophisticated checks, most of which can be configured by the customer for their particular website. It helps to prevent things like malicious bots and attacks on the website.

403 错误表示您已被阻止访问该资源.这可能是因为 Cloudflare 的防火墙已确定来自 Postman 的请求是恶意的或不需要的,因此它阻止了您.当您在浏览器中访问该网站时,该网站运行良好,因为这被视为正常"请求.

A 403 error means you have been blocked from accessing the resource. This is probably because the firewall at Cloudflare has decided the request from Postman is malicious or unwanted, so it's blocking you. The website works fine when you visit in your browser, because this is considered a "normal" request.

这篇关于“拒绝访问 |&lt;网址&gt;使用 Cloudflare 限制访问"GET 请求邮递员的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆