title: Create project using Fortify Software Security Center REST API
body: <p>Can I create projects using the HP Fortify SSC's REST API?  This works beautifully to grab a list of projects:</p>
  
  <pre><code>import requests
  import getpass
  import json
  
  url = "https://www.example.com/ssc/api/v1/"
  endpoint = "auth/obtain_token"
  headers = {"Content-Type": "application/json",
             "Accept": "application/json"}
  username = getpass.getuser()
  password = getpass.getpass()
  auth = (username, password)
  
  r = requests.post("{url}{endpoint}".format(url=url, endpoint=endpoint), headers=headers, auth=auth)
  
  data = r.json().get("data")
  token = data.get("token")
  endpoint = "projects"
  headers["Authentication"] = "FortifyToken {token}".format(token=token)
  
  r = requests.get("{url}{endpoint}".format(url=url, endpoint=endpoint), headers=headers)
  
  print json.dumps(r.json(), sort_keys=True, indent=4, separators=(',', ': '))
  </code></pre>
  
  <p>... But I don't see any examples in the API documentation for actually <em>creating</em> a project.  I am specifically interested in doing so using the Python requests library.  I do <strong>NOT</strong> want to have to do anything in Java (which is what all of the samples that come with the Fortify SSC WAR package are).</p>
  
  <p>If anyone has any experience with the SSC REST API (or can point me to some better documentation), I'd appreciate any help you can give.</p>