[Archivesspace_Users_Group] logout endpoint

Brad Westbrook brad.westbrook at lyrasis.org
Thu Oct 8 16:38:32 EDT 2015


Thanks for closing the loop in this space, Hillel.

Brad

From: archivesspace_users_group-bounces at lyralists.lyrasis.org [mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org] On Behalf Of Arnold, Hillel
Sent: Thursday, October 08, 2015 4:34 PM
To: Archivesspace Users Group; archivesspace at googlegroups.com
Subject: Re: [Archivesspace_Users_Group] logout endpoint

Responding to my own message (again) for the purposes of future Googlers, Mark Triggs has submitted a pull request that will return a 200 response to a logout request via the API: https://github.com/archivesspace/archivesspace/pull/305

Hillel Arnold
Lead Digital Archivist
Rockefeller Archive Center

From: <Arnold>, Hillel Arnold <harnold at rockarch.org<mailto:harnold at rockarch.org>>
Reply-To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org<mailto:archivesspace_users_group at lyralists.lyrasis.org>>
Date: Monday, October 5, 2015 at 12:22 PM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org<mailto:archivesspace_users_group at lyralists.lyrasis.org>>, "archivesspace at googlegroups.com<mailto:archivesspace at googlegroups.com>" <archivesspace at googlegroups.com<mailto:archivesspace at googlegroups.com>>
Subject: Re: [Archivesspace_Users_Group] logout endpoint

The answer to my question is apparently yes - I was using the wrong header name. In my defense, it is Monday...
However, I'm still having some problems, because I'm not getting a response back from the server when sending the correct request, so the request never completes properly, even though it looks like AS logs me out. Ideas?

Hillel

From: <Arnold>, Hillel Arnold <harnold at rockarch.org<mailto:harnold at rockarch.org>>
Reply-To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org<mailto:archivesspace_users_group at lyralists.lyrasis.org>>
Date: Monday, October 5, 2015 at 12:06 PM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org<mailto:archivesspace_users_group at lyralists.lyrasis.org>>, "archivesspace at googlegroups.com<mailto:archivesspace at googlegroups.com>" <archivesspace at googlegroups.com<mailto:archivesspace at googlegroups.com>>
Subject: [Archivesspace_Users_Group] logout endpoint

I'm trying to make use of the new logout endpoint, and I'm getting a 500 error. Based on what I can decipher from the code, and assuming I'm running AS locally, I should just be able to send a POST request to http://localhost:8089/logout, passing the session token in the headers.

Am I doing something wrong?

Hillel Arnold
Lead Digital Archivist
Rockefeller Archive Center
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20151008/89dfb3ab/attachment.html>


More information about the Archivesspace_Users_Group mailing list