Description Usage Arguments Details Value
View source: R/rt_parse_response.R
The RT API uses overrides default HTTP behavior with their own set of status codes, messages, and response formats. This function parses that custom implementation and presents it into something that's easier to build a package with.
1 | rt_parse_response(response, verbose = FALSE)
|
response |
(character) Parsed response from |
verbose |
(logical) Optional, defaults to |
For example, a response like:
1 2 3 | "RT/4.4.3 200 Ok
# Ticket 2 created.
|
is turned into the list:
1 2 3 4 5 6 7 8 |
(list) List with named elements status, message, and body
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.