Skip to content

Commit

Permalink
Updated postman.
Browse files Browse the repository at this point in the history
  • Loading branch information
BabyCakes13 committed Jan 27, 2021
1 parent 07d71f5 commit 91da5a6
Showing 1 changed file with 131 additions and 1 deletion.
132 changes: 131 additions & 1 deletion xml-project.postman_collection.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"info": {
"_postman_id": "acca805a-ca4b-47f1-ab5e-ebba7ce28156",
"_postman_id": "0c457fee-829a-4bd2-9644-0507e05e60d0",
"name": "xml-project",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
Expand Down Expand Up @@ -369,6 +369,136 @@
}
},
"response": []
},
{
"name": "getClosestStation",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://localhost:8080/closestStation/?latitude=45.748261&longitude=21.219212",
"protocol": "http",
"host": [
"localhost"
],
"port": "8080",
"path": [
"closestStation",
""
],
"query": [
{
"key": "latitude",
"value": "45.748261"
},
{
"key": "longitude",
"value": "21.219212"
}
]
},
"description": "Get closest station based on given latitude and longitude.\n"
},
"response": []
},
{
"name": "getLastArrivalForStation",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://0.0.0.0:8080/lastArrival/5841",
"protocol": "http",
"host": [
"0",
"0",
"0",
"0"
],
"port": "8080",
"path": [
"lastArrival",
"5841"
]
}
},
"response": []
},
{
"name": "getAllArrivalsForStation",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://0.0.0.0:8080/allArrivals/5841",
"protocol": "http",
"host": [
"0",
"0",
"0",
"0"
],
"port": "8080",
"path": [
"allArrivals",
"5841"
]
}
},
"response": []
},
{
"name": "getAllDeparturesForStation",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://0.0.0.0:8080/allDepartures/5841",
"protocol": "http",
"host": [
"0",
"0",
"0",
"0"
],
"port": "8080",
"path": [
"allDepartures",
"5841"
],
"query": [
{
"key": "",
"value": null,
"disabled": true
}
]
}
},
"response": []
},
{
"name": "getLastDepartureForStation",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "http://0.0.0.0:8080/lastDeparture/5841",
"protocol": "http",
"host": [
"0",
"0",
"0",
"0"
],
"port": "8080",
"path": [
"lastDeparture",
"5841"
]
}
},
"response": []
}
]
}

0 comments on commit 91da5a6

Please sign in to comment.