Compare commits

..

No commits in common. "c90949de47d719865ccc2a8ca1456573642fd20d" and "d83fcdf693f427fcac24813bd3c5cf4f607ec420" have entirely different histories.

2 changed files with 1919 additions and 1979 deletions

View File

@ -1,3 +1,3 @@
<div class="copyright py-4 text-center text-white"> <div class="copyright py-4 text-center text-white">
<div class="container"><small>Copyright &copy; Betterzon 2021</small></div> <div class="container"><small>Copyright &copy; Your Website 2021</small></div>
</div> </div>

View File

@ -273,8 +273,6 @@
" }\r", " }\r",
"}, function (err, response) {\r", "}, function (err, response) {\r",
" pm.expect(err).to.not.be.ok;\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" "type": "text/javascript"
@ -286,7 +284,7 @@
"header": [], "header": [],
"body": { "body": {
"mode": "raw", "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": { "options": {
"raw": { "raw": {
"language": "json" "language": "json"
@ -340,8 +338,6 @@
" }\r", " }\r",
"}, function (err, response) {\r", "}, function (err, response) {\r",
" pm.expect(err).to.not.be.ok;\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" "type": "text/javascript"
@ -353,7 +349,7 @@
"header": [], "header": [],
"body": { "body": {
"mode": "raw", "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": { "options": {
"raw": { "raw": {
"language": "json" "language": "json"
@ -416,8 +412,6 @@
" }\r", " }\r",
"}, function (err, response) {\r", "}, function (err, response) {\r",
" pm.expect(err).to.not.be.ok;\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", "});\r",
"" ""
], ],
@ -441,7 +435,7 @@
} }
}, },
"url": { "url": {
"raw": "https://backend.betterzon.xyz/crawlingstatus?session_id={{session_id}}&session_key={{session_key}}", "raw": "https://backend.betterzon.xyz/crawlingstatus",
"protocol": "https", "protocol": "https",
"host": [ "host": [
"backend", "backend",
@ -450,16 +444,6 @@
], ],
"path": [ "path": [
"crawlingstatus" "crawlingstatus"
],
"query": [
{
"key": "session_id",
"value": "{{session_id}}"
},
{
"key": "session_key",
"value": "{{session_key}}"
}
] ]
} }
}, },
@ -577,8 +561,6 @@
" }\r", " }\r",
"}, function (err, response) {\r", "}, function (err, response) {\r",
" pm.expect(err).to.not.be.ok;\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", "});\r",
"" ""
], ],
@ -591,7 +573,7 @@
"header": [], "header": [],
"body": { "body": {
"mode": "raw", "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": { "options": {
"raw": { "raw": {
"language": "json" "language": "json"
@ -648,8 +630,6 @@
" }\r", " }\r",
"}, function (err, response) {\r", "}, function (err, response) {\r",
" pm.expect(err).to.not.be.ok;\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", " getNewFavId();\r",
"});\r", "});\r",
"\r", "\r",
@ -663,8 +643,6 @@
" body: {\r", " body: {\r",
" mode: 'raw',\r", " mode: 'raw',\r",
" raw: JSON.stringify({\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", " vendor_id: 7\r",
" })\r", " })\r",
" }\r", " }\r",
@ -674,7 +652,7 @@
"\r", "\r",
" // Get the id of the entry\r", " // Get the id of the entry\r",
" pm.sendRequest({\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", " method: 'GET'\r",
" }, function (err, response) {\r", " }, function (err, response) {\r",
" pm.expect(err).to.not.be.ok;\r", " pm.expect(err).to.not.be.ok;\r",
@ -699,7 +677,7 @@
} }
}, },
"url": { "url": {
"raw": "https://backend.betterzon.xyz/favoriteshops/{{created_favshop_id}}", "raw": "https://backend.betterzon.xyz/favoriteshops/4",
"protocol": "https", "protocol": "https",
"host": [ "host": [
"backend", "backend",
@ -708,7 +686,7 @@
], ],
"path": [ "path": [
"favoriteshops", "favoriteshops",
"{{created_favshop_id}}" "4"
] ]
} }
}, },
@ -873,8 +851,6 @@
" }\r", " }\r",
"}, function (err, response) {\r", "}, function (err, response) {\r",
" pm.expect(err).to.not.be.ok;\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" "type": "text/javascript"
@ -885,7 +861,7 @@
"method": "GET", "method": "GET",
"header": [], "header": [],
"url": { "url": {
"raw": "https://backend.betterzon.xyz/pricealarms?session_id={{session_id}}&session_key={{session_key}}", "raw": "https://backend.betterzon.xyz/pricealarms",
"protocol": "https", "protocol": "https",
"host": [ "host": [
"backend", "backend",
@ -894,16 +870,6 @@
], ],
"path": [ "path": [
"pricealarms" "pricealarms"
],
"query": [
{
"key": "session_id",
"value": "{{session_id}}"
},
{
"key": "session_key",
"value": "{{session_key}}"
}
] ]
} }
}, },
@ -944,8 +910,6 @@
" }\r", " }\r",
"}, function (err, response) {\r", "}, function (err, response) {\r",
" pm.expect(err).to.not.be.ok;\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" "type": "text/javascript"
@ -957,7 +921,7 @@
"header": [], "header": [],
"body": { "body": {
"mode": "raw", "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": { "options": {
"raw": { "raw": {
"language": "json" "language": "json"
@ -1014,8 +978,6 @@
" }\r", " }\r",
"}, function (err, response) {\r", "}, function (err, response) {\r",
" pm.expect(err).to.not.be.ok;\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" "type": "text/javascript"
@ -1027,7 +989,7 @@
"header": [], "header": [],
"body": { "body": {
"mode": "raw", "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": { "options": {
"raw": { "raw": {
"language": "json" "language": "json"
@ -1240,8 +1202,6 @@
" }\r", " }\r",
"}, function (err, response) {\r", "}, function (err, response) {\r",
" pm.expect(err).to.not.be.ok;\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" "type": "text/javascript"
@ -1253,7 +1213,7 @@
"header": [], "header": [],
"body": { "body": {
"mode": "raw", "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": { "options": {
"raw": { "raw": {
"language": "json" "language": "json"
@ -1553,7 +1513,7 @@
"header": [], "header": [],
"body": { "body": {
"mode": "raw", "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": { "options": {
"raw": { "raw": {
"language": "json" "language": "json"
@ -1891,8 +1851,6 @@
" }\r", " }\r",
"}, function (err, response) {\r", "}, function (err, response) {\r",
" pm.expect(err).to.not.be.ok;\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" "type": "text/javascript"
@ -1903,7 +1861,7 @@
"method": "GET", "method": "GET",
"header": [], "header": [],
"url": { "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", "protocol": "https",
"host": [ "host": [
"backend", "backend",
@ -1913,16 +1871,6 @@
"path": [ "path": [
"vendors", "vendors",
"managed" "managed"
],
"query": [
{
"key": "session_id",
"value": "{{session_id}}"
},
{
"key": "session_key",
"value": "{{session_key}}"
}
] ]
} }
}, },
@ -1967,14 +1915,6 @@
{ {
"key": "rand_user_id", "key": "rand_user_id",
"value": "" "value": ""
},
{
"key": "session_id",
"value": ""
},
{
"key": "session_key",
"value": ""
} }
] ]
} }