parse_response {rPDBapi} | R Documentation |
This function parses the content of an HTTP response based on the specified format. It supports JSON and plain text formats.
parse_response(response, format = "json")
response |
An HTTP response object. |
format |
A string indicating the expected response format ("json" or "text"). |
Parsed content from the response.