From b981dc8715b36c83107de4c2868e3410a6faf457 Mon Sep 17 00:00:00 2001 From: Mateja Date: Wed, 7 Oct 2020 18:41:35 +0200 Subject: First commit --- routes/api.php | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 routes/api.php (limited to 'routes/api.php') diff --git a/routes/api.php b/routes/api.php new file mode 100644 index 0000000..bcb8b18 --- /dev/null +++ b/routes/api.php @@ -0,0 +1,19 @@ +get('/user', function (Request $request) { + return $request->user(); +}); -- cgit v1.2.3