# Prepare the URL and the request body
the_url <- sched::URL$new('https://httpbin.org/anything')
the_body <- '{"some_key": "my_value"}'
# Make the request object
my_request <- sched::make_post_request(the_url, body = the_body,
mime = "application/json")
Run the code above in your browser using DataLab