1 | ###
|
---|
2 | GET http://localhost:8080/api/locations
|
---|
3 |
|
---|
4 | ###
|
---|
5 | GET http://localhost:8080/api/location/1
|
---|
6 |
|
---|
7 | ###
|
---|
8 | POST http://localhost:8080/api/planner
|
---|
9 | Content-Type: application/x-www-form-urlencoded
|
---|
10 |
|
---|
11 | description=Fourth Planner Description&name=Fourth Planner&locationList=
|
---|
12 |
|
---|
13 | ###
|
---|
14 | POST http://localhost:8080/api/planner/new
|
---|
15 | Content-Type: application/json
|
---|
16 |
|
---|
17 | {"name": "Sixth Planner Check", "description": "First Planner Description", "locationList" : []}
|
---|
18 |
|
---|
19 | ###
|
---|
20 | PUT http://localhost:8080/api/edit/planner/6
|
---|
21 | Content-Type: application/json
|
---|
22 |
|
---|
23 | {"name": "Sixth Planner Check", "description": "Sixth Planner Description", "locationList" : []}
|
---|
24 |
|
---|
25 | ###
|
---|
26 | GET http://localhost:8080/api/planners
|
---|
27 |
|
---|
28 | ###
|
---|
29 | GET http://localhost:8080/api/planner/1
|
---|
30 |
|
---|
31 | ###
|
---|
32 | POST http://localhost:8080/api/trip/locations
|
---|
33 | Content-Type: application/x-www-form-urlencoded
|
---|
34 |
|
---|
35 | locName=Macedonia&companion=Wandering Solo®ion=Skopje Region&categories=sightseeing&numberOfDays=1
|
---|
36 |
|
---|
37 | ###
|
---|
38 | GET http://localhost:8080/api/companions
|
---|
39 |
|
---|
40 | ###
|
---|
41 | GET http://localhost:8080/api/categories
|
---|
42 |
|
---|
43 | ###
|
---|
44 | GET http://localhost:8080/api/regions
|
---|
45 |
|
---|
46 | ###
|
---|
47 | GET http://localhost:8080/api/cities
|
---|
48 |
|
---|
49 | ###
|
---|
50 | GET http://localhost:8080/api/countries
|
---|
51 |
|
---|
52 | ###
|
---|
53 | PUT http://localhost:8080/api/add-location
|
---|
54 | Content-Type: application/x-www-form-urlencoded
|
---|
55 |
|
---|
56 | lid=1&pid=1 |
---|