Description Usage Arguments Examples
If multiple methods are available (e.g., GET and DELETE), a warning will be issued and only the first method will be used. If no methods are available, it is probably an invalid API route. In this case, a warning will be issued and GET will be used.
1 |
url |
character. The HTTP URL. |
1 2 3 | stopifnot(hipchat:::determine_method('nonexistent') == 'GET') # Warns about no method
stopifnot(hipchat:::determine_method('room') == 'GET') # Warns about multiple methods
stopifnot(hipchat:::determine_method('user/some@guy.com/message') == 'POST') # No warning
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.