| 39 | | |
| 40 | | //Test Information |
| 41 | | //$_POST["phpbmsusername"] = "api"; |
| 42 | | //$_POST["phpbmspassword"] = "spiderman"; |
| 43 | | //$_POST["request"] = '[ |
| 44 | | // { |
| 45 | | // "tabledefid": "tbld:c9ff2c8c-ce1f-659a-9c55-31bca7cce70e", |
| 46 | | // "command" : "insert", |
| 47 | | // "data" : {"name":"FOObar","percentage":"3","inactive":"0","createdby":"2","creationdate":"2009-06-25 14:38:02","modifiedby":"2","modifieddate":"2009-06-25 14:38:02","custom1":null,"custom2":null,"custom3":null,"custom4":null,"custom5":null,"custom6":null,"custom7":null,"custom8":null} |
| 48 | | // } |
| 49 | | //]'; |
| 50 | | //$_POST["request"] = '[ |
| 51 | | // { |
| 52 | | // "tabledefid": "tbld:c9ff2c8c-ce1f-659a-9c55-31bca7cce70e", |
| 53 | | // "command" : "update", |
| 54 | | // "data" : {"useUuid":false, "id":2, "name":"JOOOOO","percentage":"3","inactive":"0","createdby":"2","creationdate":"2009-06-25 14:38:02","modifiedby":"2","modifieddate":"2009-06-25 14:38:02","custom1":null,"custom2":null,"custom3":null,"custom4":null,"custom5":null,"custom6":null,"custom7":null,"custom8":null} |
| 55 | | // } |
| 56 | | //]'; |
| 57 | | //$_POST["request"] = '[ |
| 58 | | // { |
| 59 | | // "tabledefid": "tbld:c9ff2c8c-ce1f-659a-9c55-31bca7cce70e", |
| 60 | | // "command" : "get", |
| 61 | | // "data" : {"uuid":"tax:66dd77f5-c68e-74f4-5ce6-64768282b232"} |
| 62 | | // } |
| 63 | | //]'; |
| 64 | | //$_POST["request"] = '[ |
| 65 | | // { |
| 66 | | // "tabledefid": "tbld:c9ff2c8c-ce1f-659a-9c55-31bca7cce70e", |
| 67 | | // "command" : "inactivate", |
| 68 | | // "data" : [4], |
| 69 | | // "options" : {"useUuid" : false} |
| 70 | | // } |
| 71 | | //]'; |
| 72 | | |
| 73 | | //if(isset($_POST["foo"])){ |
| 74 | | // var_dump(stripslashes($_POST["request"])); |
| 75 | | // exit; |
| 76 | | //} |
| 77 | | |