update samples

This commit is contained in:
William Cheng
2024-01-23 16:52:00 +08:00
parent 0357a1b1dd
commit 90bd1f361b
8 changed files with 41 additions and 24 deletions

View File

@@ -270,7 +270,7 @@ ApiClient <- R6::R6Class(
api_response <- ApiResponse$new()
api_response$status_code <- httr::status_code(httr_response)
api_response$status_code_desc <- httr::http_status(httr_response)$reason
api_response$response <- httr::content(httr_response, "text", encoding = "UTF-8")
api_response$response <- httr::content(httr_response, "raw")
api_response$headers <- httr::headers(httr_response)
api_response