<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;"><div><div><div>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: <a href="https://github.com/archivesspace/archivesspace/pull/305">https://github.com/archivesspace/archivesspace/pull/305</a></div><div><div><div><br></div><div>Hillel Arnold</div></div><div>Lead Digital Archivist</div><div>Rockefeller Archive Center</div></div></div></div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">From: </span> <Arnold>, Hillel Arnold <<a href="mailto:harnold@rockarch.org">harnold@rockarch.org</a>><br><span style="font-weight:bold">Reply-To: </span> Archivesspace Users Group <<a href="mailto:archivesspace_users_group@lyralists.lyrasis.org">archivesspace_users_group@lyralists.lyrasis.org</a>><br><span style="font-weight:bold">Date: </span> Monday, October 5, 2015 at 12:22 PM<br><span style="font-weight:bold">To: </span> Archivesspace Users Group <<a href="mailto:archivesspace_users_group@lyralists.lyrasis.org">archivesspace_users_group@lyralists.lyrasis.org</a>>, "<a href="mailto:archivesspace@googlegroups.com">archivesspace@googlegroups.com</a>" <<a href="mailto:archivesspace@googlegroups.com">archivesspace@googlegroups.com</a>><br><span style="font-weight:bold">Subject: </span> Re: [Archivesspace_Users_Group] logout endpoint<br></div><div><br></div><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;"><div><div>The answer to my question is apparently yes – I was using the wrong header name. In my defense, it is Monday…</div><div>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?</div><div><br></div></div><div>Hillel</div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">From: </span><Arnold>, Hillel Arnold <<a href="mailto:harnold@rockarch.org">harnold@rockarch.org</a>><br><span style="font-weight:bold">Reply-To: </span>Archivesspace Users Group <<a href="mailto:archivesspace_users_group@lyralists.lyrasis.org">archivesspace_users_group@lyralists.lyrasis.org</a>><br><span style="font-weight:bold">Date: </span>Monday, October 5, 2015 at 12:06 PM<br><span style="font-weight:bold">To: </span>Archivesspace Users Group <<a href="mailto:archivesspace_users_group@lyralists.lyrasis.org">archivesspace_users_group@lyralists.lyrasis.org</a>>, "<a href="mailto:archivesspace@googlegroups.com">archivesspace@googlegroups.com</a>"
<<a href="mailto:archivesspace@googlegroups.com">archivesspace@googlegroups.com</a>><br><span style="font-weight:bold">Subject: </span>[Archivesspace_Users_Group] logout endpoint<br></div><div><br></div><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;"><div>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
<a href="http://localhost:8089/logout">http://localhost:8089/logout</a>, passing the session token in the headers. </div><div><br></div><div>Am I doing something wrong?</div><div><div><div><br></div><div>Hillel Arnold</div></div><div>Lead Digital Archivist</div><div>Rockefeller Archive Center</div></div></div></div></span></div></div></span></body></html>