[Archivesspace_Users_Group] Help with REST API

Levy, Michael mlevy at ushmm.org
Tue May 6 11:48:12 EDT 2014


PS, using AS version 1.0.7.1




On Tue, May 6, 2014 at 11:46 AM, Levy, Michael <mlevy at ushmm.org> wrote:

> Hello,
>
> We're attempting to retrieve the data for a resource in using the REST API.
>
> The request is:
> GET /repositories/1/resources/1
>
> We're receiving receiving a 403 Forbidden HTTP response.  I assume I must
> authenticate.
>
> We're able to "log in" using:
> POST /users/admin/login (supplying Username and Password as parameters.)
>
> The log in appears to work.  Among other values, we're receiving back a
> "session" string.
>
> Maybe the session string is required on subsequent requests to show
> authentication, but are unsure of the correct way to pass it.
>
> Is this documented; are there examples we're not finding yet?
>
> TIA
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20140506/a294b804/attachment.html>


More information about the Archivesspace_Users_Group mailing list