code: def executeTask(self,
                      inputs,
                      outSR=None,
                      processSR=None,
                      returnZ=False,
                      returnM=False,
                      f="json",
                      method="POST"
                      ):
          
          params = {
              "f" : f
          }
          url = self._url + "/execute"
          params = { "f" : "json" }
          if not outSR is None:
              params['env:outSR'] = outSR
          if not processSR is None:
              params['end:processSR'] = processSR
          params['returnZ'] = returnZ
          params['returnM'] = returnM
          for p in inputs:
              if isinstance(p, BaseGPObject):
                  params[p.paramName] = p.value
              del p
          if method.lower() == "post":
              return self._post(url=url,
                                   param_dict=params,
                                   securityHandler=self._securityHandler,
                                   proxy_url=self._proxy_url,
                                   proxy_port=self._proxy_port)
          else:
              return self._get(url=url,
                                   param_dict=params,
                                   securityHandler=self._securityHandler,
                                   proxy_url=self._proxy_url,
                                   proxy_port=self._proxy_port)
docs: performs the execute task method