added POST /preorder Api

This commit is contained in:
Frank Schubert
2022-09-15 14:15:00 +02:00
parent 2cbdbf3813
commit 824f3a6ef2
6 changed files with 86 additions and 17 deletions
@@ -18,6 +18,7 @@ class mfBaseApicontroller {
protected $apiversion;
protected $headers = [];
protected $route;
protected $request_json;
protected $get = [];
protected $post = [];
protected $format = "default";
@@ -143,6 +144,7 @@ class mfBaseApicontroller {
$json_request = json_decode($body);
if(json_last_error() === JSON_ERROR_NONE) {
//var_dump((array)$json_request);exit;
$this->request_json = $body;
return (array)$json_request;
}