[6a3a178] | 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 |
|
---|
[6a80231] | 17 | {"name": "Second Planner Check", "description": "Second Planner Description", "locationList" : []}
|
---|
[6a3a178] | 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 | ###
|
---|
[188ee53] | 32 | GET http://localhost:8080/api/city/locations?cityId=1&companionId=1&lengthOfStay=1&categoryIds=1,2
|
---|
[6a3a178] | 33 |
|
---|
[188ee53] | 34 | ###
|
---|
| 35 | GET http://localhost:8080/api/region/locations?regionId=1&companionId=1&lengthOfStay=1&categoryIds=1,2
|
---|
[6a3a178] | 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
|
---|
[ceaed42] | 54 | Content-Type: application/json
|
---|
| 55 |
|
---|
| 56 | {"plannerId": 1, "locationId": 2}
|
---|
| 57 |
|
---|
| 58 | ###
|
---|
| 59 | GET http://localhost:8080/api/planner/locations?plannerId=1
|
---|
[6a3a178] | 60 | Content-Type: application/x-www-form-urlencoded
|
---|
| 61 |
|
---|
[59329aa] | 62 | ###
|
---|
| 63 | GET http://localhost:8080/api/weekend
|
---|
| 64 | Content-Type: application/x-www-form-urlencoded
|
---|
| 65 |
|
---|
| 66 | ###
|
---|
| 67 | GET http://localhost:8080/api/villages
|
---|
| 68 | Content-Type: application/x-www-form-urlencoded
|
---|
| 69 |
|
---|
| 70 | ###
|
---|
| 71 | GET http://localhost:8080/api/images?locationId=1
|
---|
| 72 | Content-Type: application/x-www-form-urlencoded |
---|