code: def print_reproduceable(self, request):
          
          command = "curl -u $SL_USER:$SL_APIKEY -X {method} -H {headers} {data} '{uri}'"
  
          method = REST_SPECIAL_METHODS.get(request.method)
  
          if method is None:
              method = 'GET'
          if request.args:
              method = 'POST'
  
          data = ''
          if request.payload is not None:
              data = "-d '{}'".format(request.payload)
  
          headers = ['"{0}: {1}"'.format(k, v) for k, v in request.transport_headers.items()]
          headers = " -H ".join(headers)
          return command.format(method=method, headers=headers, data=data, uri=request.url)
docs: Prints out the minimal python code to reproduce a specific request
  
          The will also automatically replace the API key so its not accidently exposed.
  
          :param request request: Request object