mirror of
https://github.com/Mueller-Patrick/Betterzon.git
synced 2024-12-24 12:35:12 +00:00
Compare commits
No commits in common. "c90949de47d719865ccc2a8ca1456573642fd20d" and "d83fcdf693f427fcac24813bd3c5cf4f607ec420" have entirely different histories.
c90949de47
...
d83fcdf693
|
@ -1,3 +1,3 @@
|
|||
<div class="copyright py-4 text-center text-white">
|
||||
<div class="container"><small>Copyright © Betterzon 2021</small></div>
|
||||
<div class="container"><small>Copyright © Your Website 2021</small></div>
|
||||
</div>
|
||||
|
|
|
@ -273,8 +273,6 @@
|
|||
" }\r",
|
||||
"}, function (err, response) {\r",
|
||||
" pm.expect(err).to.not.be.ok;\r",
|
||||
" pm.collectionVariables.set(\"session_id\", response.json().session_id);\r",
|
||||
" pm.collectionVariables.set(\"session_key\", response.json().session_key);\r",
|
||||
"});"
|
||||
],
|
||||
"type": "text/javascript"
|
||||
|
@ -286,7 +284,7 @@
|
|||
"header": [],
|
||||
"body": {
|
||||
"mode": "raw",
|
||||
"raw": "{\r\n \"session_id\": \"{{session_id}}\",\r\n \"session_key\": \"{{session_key}}\",\r\n \"vendor_id\": 7,\r\n \"first_name\": \"Test\",\r\n \"last_name\": \"Contact\",\r\n \"gender\": \"Unix\",\r\n \"email\": \"testcontact@betterzon.xyz\",\r\n \"phone\": \"+49 123 456789\"\r\n}",
|
||||
"raw": "{\r\n \"vendor_id\": 7,\r\n \"first_name\": \"Test\",\r\n \"last_name\": \"Contact\",\r\n \"gender\": \"Unix\",\r\n \"email\": \"testcontact@betterzon.xyz\",\r\n \"phone\": \"+49 123 456789\"\r\n}",
|
||||
"options": {
|
||||
"raw": {
|
||||
"language": "json"
|
||||
|
@ -340,8 +338,6 @@
|
|||
" }\r",
|
||||
"}, function (err, response) {\r",
|
||||
" pm.expect(err).to.not.be.ok;\r",
|
||||
" pm.collectionVariables.set(\"session_id\", response.json().session_id);\r",
|
||||
" pm.collectionVariables.set(\"session_key\", response.json().session_key);\r",
|
||||
"});"
|
||||
],
|
||||
"type": "text/javascript"
|
||||
|
@ -353,7 +349,7 @@
|
|||
"header": [],
|
||||
"body": {
|
||||
"mode": "raw",
|
||||
"raw": "{\r\n \"session_id\": \"{{session_id}}\",\r\n \"session_key\": \"{{session_key}}\",\r\n \"vendor_id\": 7,\r\n \"first_name\": \"Test\",\r\n \"last_name\": \"Contact\",\r\n \"gender\": \"Unix\",\r\n \"email\": \"testcontact@betterzon.xyz\",\r\n \"phone\": \"+49 123 456789\"\r\n}",
|
||||
"raw": "{\r\n \"vendor_id\": 7,\r\n \"first_name\": \"Test\",\r\n \"last_name\": \"Contact\",\r\n \"gender\": \"Unix\",\r\n \"email\": \"testcontact@betterzon.xyz\",\r\n \"phone\": \"+49 123 456789\"\r\n}",
|
||||
"options": {
|
||||
"raw": {
|
||||
"language": "json"
|
||||
|
@ -416,8 +412,6 @@
|
|||
" }\r",
|
||||
"}, function (err, response) {\r",
|
||||
" pm.expect(err).to.not.be.ok;\r",
|
||||
" pm.collectionVariables.set(\"session_id\", response.json().session_id);\r",
|
||||
" pm.collectionVariables.set(\"session_key\", response.json().session_key);\r",
|
||||
"});\r",
|
||||
""
|
||||
],
|
||||
|
@ -441,7 +435,7 @@
|
|||
}
|
||||
},
|
||||
"url": {
|
||||
"raw": "https://backend.betterzon.xyz/crawlingstatus?session_id={{session_id}}&session_key={{session_key}}",
|
||||
"raw": "https://backend.betterzon.xyz/crawlingstatus",
|
||||
"protocol": "https",
|
||||
"host": [
|
||||
"backend",
|
||||
|
@ -450,16 +444,6 @@
|
|||
],
|
||||
"path": [
|
||||
"crawlingstatus"
|
||||
],
|
||||
"query": [
|
||||
{
|
||||
"key": "session_id",
|
||||
"value": "{{session_id}}"
|
||||
},
|
||||
{
|
||||
"key": "session_key",
|
||||
"value": "{{session_key}}"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
@ -577,8 +561,6 @@
|
|||
" }\r",
|
||||
"}, function (err, response) {\r",
|
||||
" pm.expect(err).to.not.be.ok;\r",
|
||||
" pm.collectionVariables.set(\"session_id\", response.json().session_id);\r",
|
||||
" pm.collectionVariables.set(\"session_key\", response.json().session_key);\r",
|
||||
"});\r",
|
||||
""
|
||||
],
|
||||
|
@ -591,7 +573,7 @@
|
|||
"header": [],
|
||||
"body": {
|
||||
"mode": "raw",
|
||||
"raw": "{\r\n \"session_id\": \"{{session_id}}\",\r\n \"session_key\": \"{{session_key}}\",\r\n \"vendor_id\": 7\r\n}",
|
||||
"raw": "{\r\n \"vendor_id\": 7\r\n}",
|
||||
"options": {
|
||||
"raw": {
|
||||
"language": "json"
|
||||
|
@ -648,8 +630,6 @@
|
|||
" }\r",
|
||||
"}, function (err, response) {\r",
|
||||
" pm.expect(err).to.not.be.ok;\r",
|
||||
" pm.collectionVariables.set(\"session_id\", response.json().session_id);\r",
|
||||
" pm.collectionVariables.set(\"session_key\", response.json().session_key);\r",
|
||||
" getNewFavId();\r",
|
||||
"});\r",
|
||||
"\r",
|
||||
|
@ -663,8 +643,6 @@
|
|||
" body: {\r",
|
||||
" mode: 'raw',\r",
|
||||
" raw: JSON.stringify({\r",
|
||||
" session_id: pm.collectionVariables.get(\"session_id\"),\r",
|
||||
" session_key: pm.collectionVariables.get(\"session_key\"),\r",
|
||||
" vendor_id: 7\r",
|
||||
" })\r",
|
||||
" }\r",
|
||||
|
@ -674,7 +652,7 @@
|
|||
"\r",
|
||||
" // Get the id of the entry\r",
|
||||
" pm.sendRequest({\r",
|
||||
" url: ('https://backend.betterzon.xyz/favoriteshops?session_id=' + pm.collectionVariables.get(\"session_id\") + '&session_key=' + pm.collectionVariables.get(\"session_key\")),\r",
|
||||
" url: 'https://backend.betterzon.xyz/favoriteshops',\r",
|
||||
" method: 'GET'\r",
|
||||
" }, function (err, response) {\r",
|
||||
" pm.expect(err).to.not.be.ok;\r",
|
||||
|
@ -699,7 +677,7 @@
|
|||
}
|
||||
},
|
||||
"url": {
|
||||
"raw": "https://backend.betterzon.xyz/favoriteshops/{{created_favshop_id}}",
|
||||
"raw": "https://backend.betterzon.xyz/favoriteshops/4",
|
||||
"protocol": "https",
|
||||
"host": [
|
||||
"backend",
|
||||
|
@ -708,7 +686,7 @@
|
|||
],
|
||||
"path": [
|
||||
"favoriteshops",
|
||||
"{{created_favshop_id}}"
|
||||
"4"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
@ -873,8 +851,6 @@
|
|||
" }\r",
|
||||
"}, function (err, response) {\r",
|
||||
" pm.expect(err).to.not.be.ok;\r",
|
||||
" pm.collectionVariables.set(\"session_id\", response.json().session_id);\r",
|
||||
" pm.collectionVariables.set(\"session_key\", response.json().session_key);\r",
|
||||
"});"
|
||||
],
|
||||
"type": "text/javascript"
|
||||
|
@ -885,7 +861,7 @@
|
|||
"method": "GET",
|
||||
"header": [],
|
||||
"url": {
|
||||
"raw": "https://backend.betterzon.xyz/pricealarms?session_id={{session_id}}&session_key={{session_key}}",
|
||||
"raw": "https://backend.betterzon.xyz/pricealarms",
|
||||
"protocol": "https",
|
||||
"host": [
|
||||
"backend",
|
||||
|
@ -894,16 +870,6 @@
|
|||
],
|
||||
"path": [
|
||||
"pricealarms"
|
||||
],
|
||||
"query": [
|
||||
{
|
||||
"key": "session_id",
|
||||
"value": "{{session_id}}"
|
||||
},
|
||||
{
|
||||
"key": "session_key",
|
||||
"value": "{{session_key}}"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
@ -944,8 +910,6 @@
|
|||
" }\r",
|
||||
"}, function (err, response) {\r",
|
||||
" pm.expect(err).to.not.be.ok;\r",
|
||||
" pm.collectionVariables.set(\"session_id\", response.json().session_id);\r",
|
||||
" pm.collectionVariables.set(\"session_key\", response.json().session_key);\r",
|
||||
"});"
|
||||
],
|
||||
"type": "text/javascript"
|
||||
|
@ -957,7 +921,7 @@
|
|||
"header": [],
|
||||
"body": {
|
||||
"mode": "raw",
|
||||
"raw": "{\r\n \"session_id\": \"{{session_id}}\",\r\n \"session_key\": \"{{session_key}}\",\r\n \"product_id\": 1,\r\n \"defined_price\": 23400\r\n}",
|
||||
"raw": "{\r\n \"product_id\": 1,\r\n \"defined_price\": 23400\r\n}",
|
||||
"options": {
|
||||
"raw": {
|
||||
"language": "json"
|
||||
|
@ -1014,8 +978,6 @@
|
|||
" }\r",
|
||||
"}, function (err, response) {\r",
|
||||
" pm.expect(err).to.not.be.ok;\r",
|
||||
" pm.collectionVariables.set(\"session_id\", response.json().session_id);\r",
|
||||
" pm.collectionVariables.set(\"session_key\", response.json().session_key);\r",
|
||||
"});"
|
||||
],
|
||||
"type": "text/javascript"
|
||||
|
@ -1027,7 +989,7 @@
|
|||
"header": [],
|
||||
"body": {
|
||||
"mode": "raw",
|
||||
"raw": "{\r\n \"session_id\": \"{{session_id}}\",\r\n \"session_key\": \"{{session_key}}\",\r\n \"alarm_id\": 12,\r\n \"defined_price\": 23400\r\n}",
|
||||
"raw": "{\r\n \"alarm_id\": 12,\r\n \"defined_price\": 23400\r\n}",
|
||||
"options": {
|
||||
"raw": {
|
||||
"language": "json"
|
||||
|
@ -1240,8 +1202,6 @@
|
|||
" }\r",
|
||||
"}, function (err, response) {\r",
|
||||
" pm.expect(err).to.not.be.ok;\r",
|
||||
" pm.collectionVariables.set(\"session_id\", response.json().session_id);\r",
|
||||
" pm.collectionVariables.set(\"session_key\", response.json().session_key);\r",
|
||||
"});"
|
||||
],
|
||||
"type": "text/javascript"
|
||||
|
@ -1253,7 +1213,7 @@
|
|||
"header": [],
|
||||
"body": {
|
||||
"mode": "raw",
|
||||
"raw": "{\r\n \"session_id\": \"{{session_id}}\",\r\n \"session_key\": \"{{session_key}}\",\r\n \"vendor_id\": 7,\r\n \"product_id\": 1,\r\n \"price_in_cents\": 123456\r\n}",
|
||||
"raw": "{\r\n \"vendor_id\": 7,\r\n \"product_id\": 1,\r\n \"price_in_cents\": 123456\r\n}",
|
||||
"options": {
|
||||
"raw": {
|
||||
"language": "json"
|
||||
|
@ -1553,7 +1513,7 @@
|
|||
"header": [],
|
||||
"body": {
|
||||
"mode": "raw",
|
||||
"raw": "{\r\n \"username\": \"Testuser\",\r\n \"password\": \"never_gonna_give_you_up\",\r\n \"email\": \"Wrongemail\"\r\n}",
|
||||
"raw": "{\r\n \"username\": \"Testuser\",\r\n \"password\": \"Testpassword\",\r\n \"email\": \"Wrongemail\"\r\n}",
|
||||
"options": {
|
||||
"raw": {
|
||||
"language": "json"
|
||||
|
@ -1891,8 +1851,6 @@
|
|||
" }\r",
|
||||
"}, function (err, response) {\r",
|
||||
" pm.expect(err).to.not.be.ok;\r",
|
||||
" pm.collectionVariables.set(\"session_id\", response.json().session_id);\r",
|
||||
" pm.collectionVariables.set(\"session_key\", response.json().session_key);\r",
|
||||
"});"
|
||||
],
|
||||
"type": "text/javascript"
|
||||
|
@ -1903,7 +1861,7 @@
|
|||
"method": "GET",
|
||||
"header": [],
|
||||
"url": {
|
||||
"raw": "https://backend.betterzon.xyz/vendors/managed?session_id={{session_id}}&session_key={{session_key}}",
|
||||
"raw": "https://backend.betterzon.xyz/vendors/managed",
|
||||
"protocol": "https",
|
||||
"host": [
|
||||
"backend",
|
||||
|
@ -1913,16 +1871,6 @@
|
|||
"path": [
|
||||
"vendors",
|
||||
"managed"
|
||||
],
|
||||
"query": [
|
||||
{
|
||||
"key": "session_id",
|
||||
"value": "{{session_id}}"
|
||||
},
|
||||
{
|
||||
"key": "session_key",
|
||||
"value": "{{session_key}}"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
@ -1967,14 +1915,6 @@
|
|||
{
|
||||
"key": "rand_user_id",
|
||||
"value": ""
|
||||
},
|
||||
{
|
||||
"key": "session_id",
|
||||
"value": ""
|
||||
},
|
||||
{
|
||||
"key": "session_key",
|
||||
"value": ""
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user