Skip to content

Instantly share code, notes, and snippets.

@brianzelip
Last active February 8, 2023 15:53
Show Gist options
  • Save brianzelip/776b4bc37748faec0358b270b851d215 to your computer and use it in GitHub Desktop.
Save brianzelip/776b4bc37748faec0358b270b851d215 to your computer and use it in GitHub Desktop.
Get ArchivesSpace Session ID
curl -s -F password="admin" "$ASPACE_BACKEND_URL/users/admin/login" | jq -r '.session'
@brianzelip
Copy link
Author

export ASPACE_SESSION=$(curl -s -F password="admin" "$ASPACE_BACKEND_URL/users/admin/login" | jq -r '.session')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment