User Tools

Site Tools


osrfhttp:opensrf_gateway

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
osrfhttp:opensrf_gateway [2016/09/21 10:39] – [Return Status] rjs7osrfhttp:opensrf_gateway [2018/10/16 11:55] rjs7
Line 237: Line 237:
  <status>200</status>  <status>200</status>
 </response> </response>
 +</code>
 +
 +=====Example 3: Authentication=====
 +
 +Login with the demo admin user:
 +
 +[[https://demo.evergreencatalog.com/osrf-gateway-v1?service=open-ils.auth&method=open-ils.auth.login&param={"username":"admin","password":"demo123"}]]
 +
 +Returns this:
 +
 +<code>
 +{
 +"payload":[{
 +    "ilsevent":0,
 +    "textcode":"SUCCESS",
 +    "desc":"Success",
 +    "pid":19776,
 +    "stacktrace":"oils_auth.c:636",
 +    "payload":{
 +        "authtoken":"5f0f7eebe600ed267be4085b660fe7be",
 +        "authtime":7200
 +    }
 +}],
 +"status":200
 +}
 </code> </code>
  
osrfhttp/opensrf_gateway.txt · Last modified: 2022/02/10 13:34 by 127.0.0.1

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.