teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

2

HTTP POST内容の修正

2021/03/24 05:02

投稿

ding
ding

スコア2

title CHANGED
File without changes
body CHANGED
@@ -58,7 +58,7 @@
58
58
 
59
59
  ### 追記
60
60
  ```HTTP
61
- POST /api/customer/post/visitType HTTP/1.1
61
+ POST /api/product/post HTTP/1.1
62
62
  Content-Length: 0
63
63
  Content-Type: application/json
64
64
  Host: localhost:8080

1

HTTPの情報を追記いたしました。

2021/03/24 05:02

投稿

ding
ding

スコア2

title CHANGED
File without changes
body CHANGED
@@ -54,4 +54,28 @@
54
54
  RequestMatcher csrfMatcher = new RestMatcher("/api/**");
55
55
 
56
56
  http.csrf().requireCsrfProtectionMatcher(csrfMatcher);
57
+ ```
58
+
59
+ ### 追記
60
+ ```HTTP
61
+ POST /api/customer/post/visitType HTTP/1.1
62
+ Content-Length: 0
63
+ Content-Type: application/json
64
+ Host: localhost:8080
65
+
66
+ HTTP/1.1 403
67
+ Vary: Origin
68
+ Vary: Access-Control-Request-Method
69
+ Vary: Access-Control-Request-Headers
70
+ X-Content-Type-Options: nosniff
71
+ X-XSS-Protection: 1; mode=block
72
+ Cache-Control: no-cache, no-store, max-age=0, must-revalidate
73
+ Pragma: no-cache
74
+ Expires: 0
75
+ X-Frame-Options: DENY
76
+ Transfer-Encoding: chunked
77
+ Date: Wed, 24 Mar 2021 04:56:33 GMT
78
+ Keep-Alive: timeout=60
79
+ Connection: keep-alive
80
+ [message-body; type: "application/octet-stream", size: 20 bytes]
57
81
  ```