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