3 points · by fanf2 · 8y ago · 1 comment
{ "action":"myFunctionName", "state":"READ", "data": { "field1":111, "field2":"two"} }
{ "action":"myFunctionName", "state":"UPDATE", "data": { "field1":111, "field2":"two"} }
{ "action":"myFunctionName", "state":"DELETE", "data": { "field1":111, "field2":"two"} }
{ "action":"myFunctionName", "state":"INSERT", "data": { "field1":111, "field2":"two"} }
The reason this came up is because we have limited access to a client's server. So we setup one script (index.php) that would direct the data to include files.