You are here

public function InstapageCmsPluginAPIModel::remotePost in Instapage plugin 8.3

Same name and namespace in other branches
  1. 7.3 core/models/InstapageCmsPluginAPIModel.php \InstapageCmsPluginAPIModel::remotePost()

Performs the remote post based on selected CMS.

Return value

object Result of the request in unified form.

File

core/models/InstapageCmsPluginAPIModel.php, line 31

Class

InstapageCmsPluginAPIModel
Class responsible for communication with Instapage app via API.

Code

public function remotePost($url, $data = array(), $headers = array()) {
  return InstapageCmsPluginConnector::getSelectedConnector()
    ->remotePost($url, $data, $headers);
}