今天我們一樣使用文章的CRUD作為開發的示範,而差異在於API改為回傳JSON Response, ... public function index() { return response()->json(['status' => 0, 'posts' ...
確定! 回上一頁