[Archivesspace_Users_Group] logout endpoint
Arnold, Hillel
harnold at rockarch.org
Thu Oct 8 16:34:08 EDT 2015
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/87c99e5e/attachment.html>
More information about the Archivesspace_Users_Group
mailing list