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

Headers

Example Token Request

Example API Call without Authentication

Example API Call without Authentication (error)

Last updated