Esempio n. 1
0
 public function createPOSTTag(TagObject $tagObject)
 {
     $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_TAG);
     $this->request->setRequestMethod('POST');
     $this->request->setRequestBody($tagObject->getJSONString());
     return $this;
 }