From 7ffdd7399389e95d1d585008dddc0a9fe306b3ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joe=20Ku=CC=88ng?= Date: Wed, 26 Apr 2023 10:56:09 +0200 Subject: [PATCH] Rest api Resources --- src/main/resources/restApi.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/main/resources/restApi.txt diff --git a/src/main/resources/restApi.txt b/src/main/resources/restApi.txt new file mode 100644 index 0000000..4265960 --- /dev/null +++ b/src/main/resources/restApi.txt @@ -0,0 +1,16 @@ +get: + progetto152/locations + progetto152/location/{location} + progetto152/waypoints/{location} + progetto152/waypoint/{location}/{id} + maybe: + progetto152/user/{user} + progetto152/user/{user}/location + +post: + progetto152/location + progetto152/waypoint + maybe: + progetto152/user + progetto152/user/{user}/location +