public function _photoUpload($url, $postdata, $files) { $response = $this->do_post_request($url, $postdata, $files); return $this->json_foreach($this->parseResponse($response)); }