Authentication
Authentication is required to run VinoEZ APIs.
There are 2 methods for authentication.
Username and Password
Token (using Json Web Tokens)
JWT Authentication
To get the token, run the following API call
JWT Auth
POST
http://<domain>.vinoez.com/api/login
Headers Content-Type: application/json X-Requested-with: XMLHttpRequest vino_app:mobile Authentication { "email": "<user_email>" "password":"<user_password>" }
Query Parameters
Name | Type | Description |
---|---|---|
password | string | The password of the user who is attempting to authenticate |
string | The email of the user who is attempting to authenticate |
Headers
Name | Type | Description |
---|---|---|
Content-Type: | string | application/json |
X-Requested-with: | string | XMLHttpRequest |
vino_app: | string | mobile |
Example Token Request
Example API Call without Authentication
Example API Call without Authentication (error)
Last updated