質問編集履歴
1
コードの追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -10,7 +10,43 @@
|
|
10
10
|
|
11
11
|
"HTTP/1.1 302 Moved Temporarily"と表示され,保護されたWebサーバ専用に作られたCloudflareのログインページへリダイレクトされてしまい,それより先に進むことができない.
|
12
12
|
|
13
|
+
```
|
14
|
+
Note: Unnecessary use of -X or --request, POST is already inferred.
|
15
|
+
* Trying (ipv6アドレス)...
|
16
|
+
* Connected to (my domain)
|
17
|
+
(ipv6アドレス) port 443 (#0)
|
18
|
+
* schannel: disabled automatic use of client certificate
|
19
|
+
* ALPN: offers http/1.1
|
20
|
+
* ALPN: server accepted http/1.1
|
21
|
+
> POST (受信用ページ) HTTP/1.1
|
22
|
+
> Host: (my domain)
|
23
|
+
> User-Agent: curl/7.83.1
|
24
|
+
> Accept: */*
|
25
|
+
> Content-Type: applicaton/json
|
26
|
+
> Content-Length: 32
|
27
|
+
>
|
28
|
+
* Mark bundle as not supporting multiuse
|
29
|
+
< HTTP/1.1 302 Moved Temporarily
|
30
|
+
< Date: Mon, 30 Jan 2023 07:15:17 GMT
|
31
|
+
< Transfer-Encoding: chunked
|
32
|
+
< Connection: keep-alive
|
33
|
+
< Set-Cookie: CF_AppSession=○○; Expires=Tue, 31 Jan 2023 07:15:17 GMT; Path=/; Secure; HttpOnly
|
34
|
+
< Access-Control-Allow-Credentials: true
|
35
|
+
< Cache-Control: private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
|
36
|
+
< Expires: Thu, 01 Jan 1970 00:00:01 GMT
|
37
|
+
< Location: (自分のWebアプリケーション用のCloudflareが作成したログインページのURL)
|
38
|
+
< Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=○○"}],"group":"cf-nel","max_age":604800}
|
39
|
+
< NEL: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
|
40
|
+
< Server: cloudflare
|
41
|
+
< CF-RAY: ○○
|
42
|
+
```
|
43
|
+
|
13
44
|
### 試したこと
|
14
45
|
|
15
46
|
CUIからcurlを用いてHTTPリクエストを送信した.
|
16
47
|
|
48
|
+
```curl
|
49
|
+
curl -v -X POST https://(mydomain) -H "Content-Type: applicaton/json" -d "{"hoge":"hoge", "hoge2":"hoge2"}"
|
50
|
+
```
|
51
|
+
ドメイン名は隠しておきます.
|
52
|
+
|