Skip to content
This repository has been archived by the owner on Jul 2, 2018. It is now read-only.

E_Authentication

Natasa Bulatovic edited this page Feb 3, 2016 · 10 revisions

Authentication

The authentication via the REST API is simple: posting the user credentials responds with newly generated API Key which is valid as long as the user is not explicitly logged-out. The newly generated API Key is invalidated by calling the logout method.

Alternatively, authentication can be made by posting a username and a password in the Authorization field of your request header (see Basic access authentication (Client side))

An API Key is delivered in the response in both cases upon successful authentication.

Note: [https://github.com/imeji-community/imeji/wiki/Logout:-Post#note](Logout Note )

##Path / ##Format Responses are in JSON format.

#V1 ##POST /login

##POST /logout

Clone this wiki locally