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()
httpRequestType
character, type of the http request
Value
API response in raw format