You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Robin Thoni 67e97b0087 add default demo42 api key преди 9 години
misc add default demo42 api key преди 9 години
.gitignore media upload преди 9 години
README check page преди 9 години
index.php fixed confirm regex преди 9 години
sql.php api key check преди 9 години
status.php fixed error messages преди 9 години
user.php fixed error messages преди 9 години
utils.php check_table_field return all fields преди 9 години

README

VDM webservice API for 3ie recruitment.

API online demo:
https://api.vdm.rthoni.com/
Api-Key: demo42

API Documentation:
- https://api.vdm.rthoni.com/doc/index.html
- http://vdm.3ie.fr/doc/index.html

Developped with:
- apache2
modules:
- ssl (optionnal)
- rewrite
- PHP 5.3.3-7+squeeze19
- mysql Ver 14.14 Distrib 5.1.73

Apache configuration example:
misc/api.vdm

API configuration example:
misc/config.php.sample
Save it as misc/config.php

Database structure:
misc/database.png
misc/create_database.sql
Create database, then insert this structure

API test:
Create database structure
Clear database with misc/clear_database.sql before testing
Browse misc/check.php

Clear script:
misc/api.vdm-clear.php
Remove expired tokens
Run it frequenlty (every 24h would be nice)
Cron example:
misc/api.vdm-cron