|
@@ -22,6 +22,19 @@ Simple PHP script that adds a very basic API to a MySQL database
|
22
|
22
|
- JSONP support for cross-domain requests
|
23
|
23
|
- Combined requests with wildcard support for table names
|
24
|
24
|
|
|
25
|
+## Configuration
|
|
26
|
+
|
|
27
|
+```
|
|
28
|
+$config = array(
|
|
29
|
+ "hostname"=>"localhost",
|
|
30
|
+ "username"=>"root",
|
|
31
|
+ "password"=>"root",
|
|
32
|
+ "database"=>"cravetivity",
|
|
33
|
+ "whitelist"=>false,
|
|
34
|
+ "blacklist"=>array("users"),
|
|
35
|
+);
|
|
36
|
+```
|
|
37
|
+
|
25
|
38
|
## Example output
|
26
|
39
|
|
27
|
40
|
URL: http://localhost/api/cate*
|