chore: callRestApiのデバッグログをコメントアウト(削除せず必要時に復活できるよう保持)
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
parent
0544365276
commit
4b8498ba2d
@ -593,8 +593,8 @@ Function callRestApi(Byval method As String, Byval url As String, Optional Byval
|
||||
objHTTP.setRequestHeader headers.keys(i), headers.items(i)
|
||||
Next i
|
||||
|
||||
'デバッグ用: 送信するリクエストボディを出力(原因調査後に削除する)
|
||||
Debug.Print " [DEBUG] Request Body: " & JsonConverter.ConvertToJson(body)
|
||||
'デバッグ用: 送信するリクエストボディを出力(必要な時だけコメントアウトを外す)
|
||||
'Debug.Print " [DEBUG] Request Body: " & JsonConverter.ConvertToJson(body)
|
||||
|
||||
'リクエスト送信
|
||||
objHTTP.send JsonConverter.ConvertToJson(body)
|
||||
@ -603,10 +603,10 @@ Function callRestApi(Byval method As String, Byval url As String, Optional Byval
|
||||
DoEvents
|
||||
Loop
|
||||
|
||||
'デバッグ用: レスポンス全文を出力(原因調査後に削除する)
|
||||
Debug.Print " [DEBUG] Response Status: " & objHTTP.Status & " " & objHTTP.statusText
|
||||
Debug.Print " [DEBUG] Response Body (全文):"
|
||||
Debug.Print objHTTP.responseText
|
||||
'デバッグ用: レスポンス全文を出力(必要な時だけコメントアウトを外す)
|
||||
'Debug.Print " [DEBUG] Response Status: " & objHTTP.Status & " " & objHTTP.statusText
|
||||
'Debug.Print " [DEBUG] Response Body (全文):"
|
||||
'Debug.Print objHTTP.responseText
|
||||
|
||||
'レスポンスの文字列(objHTTP.responseText)をJsonに変換して返却
|
||||
Set callRestApi = JsonConverter.ParseJson(objHTTP.responseText)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user