You are here

public function Vcl::prepare_insert_setting in Fastly 7.2

Prepares Insert setting data.

@data array

Return value

array

1 call to Vcl::prepare_insert_setting()
Vcl::prepare_setting in ./fastly.vcl.inc
Prepares setting for insertion.

File

./fastly.vcl.inc, line 547

Class

Vcl
Class to control the VCL handling.

Code

public function prepare_insert_setting($data) {
  $url = $this->_version_base_url . '/' . $this->_last_cloned_version . '/request_settings';
  $request = array(
    'url' => $url,
    'data' => $data,
    'type' => "POST",
  );
  return $request;
}