-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Welcome to the WEBSIFY RESThook wiki!
The project of a whale who deep dive into the ocean of data.
WEBSIFY is a promising project that aims to simplify, facilitate and make web services of all types accessible to the widest possible audience. The way is to interconnect, collaborate, mix and ultimately use different hardware and software computing systems so that they work as one system. The end product is all about e-commerce, big data, communications, information, analytics, information flow and much more.
`// all rest logic here, so we find who you are bla bla...
if ($RH_Hello_Anybody_Here) {
switch ($RH_You_Are) { // let's select authentication method and get you into a data tower
case 'RH_postman':
# we've got a request array
$RH_Authentication = 'POST';
$RH_Go_To = 'POSTMAN TOWER';
break;
case 'RH_json':
# JSON Web Token (JWT) Authentication
$RH_Authentication = 'JWT';
$RH_Go_To = 'JSON TOWER';
break;
case 'RH_analytics':
# our whale will teach you what you wanna know
$RH_Authentication = 'ANALYTICS';
$RH_Go_To = 'ANALYTICS TOWER';
break;
case 'RH_dora':
# Direct Operation Right Away
$RH_Authentication = 'DORA';
$RH_Go_To = 'DORA TOWER';
break;
case 'RH_interact':
# all about form data
$RH_Authentication = 'INTERACT';
$RH_Go_To = 'INTERACT TOWER';
break;
case 'RH_files':
# please open the vault
$RH_Authentication = 'FILES';
$RH_Go_To = 'FILES TOWER';
break;
case 'RH_email':
# hehe! traditional guy...
$RH_Authentication = 'EMAIL';
$RH_Go_To = 'EMAIL TOWER';
break;
case 'RH_sms':
# aha! piece of cake
$RH_Authentication = 'SMS';
$RH_Go_To = 'SMS TOWER';
break;
default:
# can't find who it is
$RH_Authentication = 'none';
$RH_Go_To = 'exit the tower';
break;
}
}`