Authentication

Authentication is required to run VinoEZ APIs.

There are 2 methods for authentication.

  1. Username and Password

  2. 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

email

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

Was this helpful?