◆ makeCloudRequest()
| fiftyone\pipeline\cloudrequestengine\HttpClient::makeCloudRequest | ( | string | $type, | 
| string | $url, | ||
| ?string | $content, | ||
| ?string | $originHeader | ||
| ) | 
Internal helper method to make a cloud request uses CURL if available, falls back to file_get_contents.
- Parameters
 - 
    
string - $type - Method use to send HTTP request
 string - $url -
 null | string - $content - Data to be sent in the post body
 null | string - $originHeader - The value to use for the Origin header
  
- Returns
 - string Associative array with data and error properties error contains any errors from the request, data contains the response
 
