Exemplo n.º 1
0
 public function createPOSTFeatureList(FeatureListObject $featureListObject)
 {
     $this->request = new OutgoingRequest();
     $this->request->setServer($this->getDomainFromProfileLocation($this->targetSocialRecord->getProfileLocation()));
     $this->request->setPath($this->getPathFromProfileLocation($this->targetSocialRecord->getProfileLocation()) . $this->targetSocialRecord->getGlobalID() . '/' . self::RESOURCE_NAME_FEATURE);
     $this->request->setRequestMethod('POST');
     $this->request->setRequestBody($featureListObject->getJSONString());
     return $this;
 }