Learn R Programming

googleCloudVisionR (version 0.2.0)

call_vision_api: helper function to send POST request to the Google Vision API

Description

sends the request defined in `body` to the API

Usage

call_vision_api(body, apiEndpoint = "images:annotate",
  httpRequestType = "POST")

Arguments

body,

output of create_request_body()

apiEndpoint

character, api endpoint

httpRequestType

character, type of the http request

Value

API response in raw format