1、网页版Apifox访问外网地址https://webket.jp/pc/member/login?fc=00396&ac=8001代码错误
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>ERROR: The request could not be satisfied</TITLE>
</HEAD>
<BODY>
<H1>403 ERROR</H1>
<H2>The request could not be satisfied.</H2>
<HR noshade size="1px">
Request blocked.
We can't connect to the server for this app or website at this time. There might be too much traffic or a
configuration error. Try again later, or contact the app or website owner.
<BR clear="all">
If you provide content to customers through CloudFront, you can find steps to troubleshoot and help prevent this error by reviewing the CloudFront documentation.
<BR clear="all">
<HR noshade size="1px">
<PRE>
Generated by cloudfront (CloudFront)
Request ID: WrRcjc_1vkhcAP7zkQtNxxoY02v3bsGwmwM4Zvr7vHxygIOxn-qCbQ==
</PRE>
<ADDRESS>
</ADDRESS>
</BODY>
</HTML>
2、开始以为是Head的配置问题,因为postman访问成功;经过各种尝试配置仍然不成功。
3、然后看到了下图选项“外部程序”,联想到是网络代理的问题。
4、所以下载了PC端,安装完成发现“设置”中多了一个模块“网络代理”;
5、按照上图配置之后访问,仍然不正确,然后尝试下面的设置竟然成功了
6、去网站下载SSL证书
7、将密钥复制进6的文本框
8、成功返回Response
<html lang="ja">
<head>
<script>
(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-KZXZ2BN');
</script>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="description" content="【Webket】マイページ - 購入履歴" />
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<meta name="format-detection" content="telephone=no">
<title>【Webket】マイページ - 購入履歴</title>
<link rel="stylesheet" type="text/css" href="/pc/common/css/swiper.css" />