2. Make an http connection

If all has gone well

  1. The shell will have a message saying “RESTART”
  2. You’ll be prompted for the ArchivesSpace API URL
  3. After entering it you’ll see the JSON blob response below.
    RESTART: /home/rsdoiel/Sites/archivespace-api-workshop/make-an-http-connection.py
    ArchivesSpace API URL: http://localhost:8089
    {
       "databaseProductName": "MySQL",
       "databaseProductVersion": "5.6.31",
       "ruby_version": "1.9",
       "host_os": "linux",
       "host_cpu": "x86_64",
       "build": "java1.6",
       "archivesSpaceVersion": "v1.5.0"
    }

Now we should be ready to learn how to authenticate with the API.