| req_get_method | R Documentation | 
Defaults to GET, unless the request has a body, in which case it uses
POST. Either way the method can be overridden with req_method().
req_get_method(req)
| req | A httr2 request object. | 
req <- request(example_url())
req_get_method(req)
req_get_method(req |> req_body_raw("abc"))
req_get_method(req |> req_method("DELETE"))
req_get_method(req |> req_method("HEAD"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.