Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

tina4 create route

Tina4Get::add("/api/test", function (Tina4Response $response){
  
  $jsonObject = ["hello" => "world!"];

  return $reponse ($jsonObject);
});
 
PREVIOUS NEXT
Tagged: #create #route
ADD COMMENT
Topic
Name
1+6 =