public function getBodyContents() { return $this->payload != null ? $this->payload : URLUtils::formURLEncodeMap($this->bodyParams); }