original_string: protected function fetch_dropbox_content($endpoint, $data = []) {
          $url = $this->get_content_endpoint($endpoint);
          $this->cleanopt();
          $this->resetHeader();
  
          $options['CURLOPT_POST'] = 1;
          $this->setHeader('Content-Type: ');
          $this->setHeader('Dropbox-API-Arg: ' . json_encode($data));
  
          $response = $this->request($url, $options);
  
          $this->check_and_handle_api_errors($response);
          return $response;
      }
code: protected function fetch_dropbox_content($endpoint, $data = []) {
          $url = $this->get_content_endpoint($endpoint);
          $this->cleanopt();
          $this->resetHeader();
  
          $options['CURLOPT_POST'] = 1;
          $this->setHeader('Content-Type: ');
          $this->setHeader('Dropbox-API-Arg: ' . json_encode($data));
  
          $response = $this->request($url, $options);
  
          $this->check_and_handle_api_errors($response);
          return $response;
      }
code_tokens: protected function fetch_dropbox_content ( $ endpoint , $ data = [ ] ) { $ url = $ this -> get_content_endpoint ( $ endpoint ) ; $ this -> cleanopt ( ) ; $ this -> resetHeader ( ) ; $ options [ 'CURLOPT_POST' ] = 1 ; $ this -> setHeader ( 'Content-Type: ' ) ; $ this -> setHeader ( 'Dropbox-API-Arg: ' . json_encode ( $ data ) ) ; $ response = $ this -> request ( $ url , $ options ) ; $ this -> check_and_handle_api_errors ( $ response ) ; return $ response ; }
docstring: Fetch content from the specified endpoint with the supplied data.
  
  @param   string      $endpoint   The endpoint to be contacted
  @param   array       $data       Any data to pass to the endpoint
  @return  string                  The returned data
docstring_tokens: Fetch content from the specified endpoint with the supplied data .