Last active
February 8, 2023 15:53
-
-
Save brianzelip/776b4bc37748faec0358b270b851d215 to your computer and use it in GitHub Desktop.
Get ArchivesSpace Session ID
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
export ASPACE_SESSION=$(curl -s -F password="admin" "$ASPACE_BACKEND_URL/users/admin/login" | jq -r '.session')