added static php-crud-api

This commit is contained in:
zino committed 2021-01-20 13:13:22 +01:00
1 parent ea9085b4a4
commit fda9de0fa5
175 files changed
+770 -15545

No files matched your search

@@ -7,7 +7,7 @@ var clientId = ''; // client id as defined in auth0
var audience = 'https://your-php-crud-api/api.php'; // api audience as defined in auth0
var url = '/api.php/records/posts?join=categories&join=tags&join=comments&filter=id,eq,1';
function requestAPI() {
function requestApi() {
var match = RegExp('[#&]access_token=([^&]*)').exec(window.location.hash);
var accessToken = match && decodeURIComponent(match[1].replace(/\+/g, ' '));
if (!accessToken) {