API Guide

This API System is written in Laravel 6.18.0 and runs over https:// SSL and is CORS compliant. PHP is 7.2.2. By default all APIs are `open` [all Origins, Headers, Methods] No API Key required, but this can be customised upon request.

The backend database will by default be MySQL and uses Active Records [chaining] to negate SQL injection.

Any hashed data will be MD5 and two-way encryption AES. All return data is returned as JSON. Developers are advised to install the JSONView extension.

Assuming your shop is hosted at https://www.yourshop.com, your API should be run as a subdomain https://api.yourshop.com with whatever security/CORS you may wish to deploy.

© vadoo.co.uk or supplied to the client

$url = "https://api.....";
$json = file_get_contents($url);
// Optional Array $associativeArray = json_decode($json, true);
	.then( response => response.json() )
	.then( data => {
		// Optional loop through `data`
        	data.forEach(function(el) {
			console.log('[API].. ' + el.id);

See also MyFetch component in the front-end REACT JS webpack which uses ES7 await