3  HTTP

It is very useful to create a micro service API internally.

Web server

Get

Post

Template

R client
httr2::request('localhost:3000/share') %>% 
  httr2::req_perform() %>% 
  httr2::resp_body_string()

Request CLI 1

Request CLI 2