return $this->response->withType("application/json")->withStringBody(json_encode($result)); code example
Example 1: return $this->response->withType("application/json")->withStringBody(json_encode($result));
return $this->response->withType("application/json")->withStringBody(json_encode($result));
pure array
Example 2: return $this->response->withType("application/json")->withStringBody(json_encode($result));
return $this->response->withType("application/json")->withStringBody(json_encode($result));
pure array