You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

212 lines
3.1 KiB

{
"info": {
"_postman_id": "ed89b8b7-813e-4589-970c-0b6090d7e7cd",
"name": "webApp230415_hall",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "26683763"
},
"item": [
{
"name": "get not booked",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{baseurl}}/",
"host": [
"{{baseurl}}"
],
"path": [
""
]
}
},
"response": []
},
{
"name": "seat info",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{baseurl}}/seat/1/5",
"host": [
"{{baseurl}}"
],
"path": [
"seat",
"1",
"5"
]
}
},
"response": []
},
{
"name": "seat add",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "iRow",
"value": "1",
"type": "text"
},
{
"key": "iPosition",
"value": "11",
"type": "text"
}
]
},
"url": {
"raw": "{{baseurl}}/seat",
"host": [
"{{baseurl}}"
],
"path": [
"seat"
]
}
},
"response": []
},
{
"name": "seat de3lete",
"request": {
"method": "DELETE",
"header": [
{
"key": "iRow",
"value": "1",
"type": "text"
},
{
"key": "iPosition",
"value": "11",
"type": "text"
}
],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "iRow",
"value": "1",
"type": "text",
"disabled": true
},
{
"key": "iPosition",
"value": "11",
"type": "text",
"disabled": true
}
]
},
"url": {
"raw": "{{baseurl}}/seat",
"host": [
"{{baseurl}}"
],
"path": [
"seat"
]
}
},
"response": []
},
{
"name": "seat booking",
"request": {
"method": "PATCH",
"header": [],
"body": {
"mode": "formdata",
"formdata": [
{
"key": "iRow",
"value": "1",
"type": "text"
},
{
"key": "iPosition",
"value": "11",
"type": "text"
}
]
},
"url": {
"raw": "{{baseurl}}/seat/booking/1/2",
"host": [
"{{baseurl}}"
],
"path": [
"seat",
"booking",
"1",
"2"
]
}
},
"response": []
},
{
"name": "seat info query",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "{{baseurl}}/seat?iRow=1&iPosition=1",
"host": [
"{{baseurl}}"
],
"path": [
"seat"
],
"query": [
{
"key": "iRow",
"value": "1"
},
{
"key": "iPosition",
"value": "1"
}
]
}
},
"response": []
}
],
"event": [
{
"listen": "prerequest",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
}
],
"variable": [
{
"key": "baseurl",
"value": "http://localhost:5095/v1/hall",
"type": "string"
}
]
}