gargle_last_response: Access the last response

View source: R/aaa.R

gargle_last_responseR Documentation

Access the last response

Description

These functions give access to the most recent response processed by response_process(..., remember = TRUE). They can be useful for post mortem analysis of puzzling or failed API interactions.

Usage

gargle_last_response()

gargle_last_content()

Value

  • gargle_last_response() returns the most recent httr::response() object.

  • gargle_last_content() returns the parsed JSON content from the most recent response or an empty list if unavailable.


gargle documentation built on Jan. 29, 2026, 9:06 a.m.