Learn R Programming

genesysr (version 2.1.1)

.post: HTTP POST method

Description

HTTP POST method

Usage

.post(
  path,
  query = NULL,
  body = NULL,
  content.type = "application/json",
  accept = "application/json"
)

Value

httr response

Arguments

path

API path

query

query string parameters

body

request body (will be serialized to JSON)

content.type

Content-Type of the body