This commit is contained in:
Ваше Имя 2025-02-21 13:47:46 +05:00
parent b9ffc105be
commit bd967e1d9e
10 changed files with 10 additions and 10 deletions

View File

@ -27,7 +27,7 @@ def test():
} }
} }
} }
req = Request('POST', 'http://localhost/api/v1.0/show-case/batch-brands', json=data, auth=('qwe', 'qwe')) req = Request('POST', 'https://new2.spavto96.ru/api/v1.0/show-case/batch-brands', json=data, auth=('qwe', 'qwe'))
prepped = req.prepare() prepped = req.prepare()
resp = s.send(prepped) resp = s.send(prepped)
print(resp.status_code) print(resp.status_code)

View File

@ -25,7 +25,7 @@ def test():
} }
} }
} }
req = Request('POST', 'http://localhost/api/v1.0/show-case/batch-groups', json=data, auth=('qwe', 'qwe')) req = Request('POST', 'https://new2.spavto96.ru/api/v1.0/show-case/batch-groups', json=data, auth=('qwe', 'qwe'))
prepped = req.prepare() prepped = req.prepare()
resp = s.send(prepped) resp = s.send(prepped)
print(resp.status_code) print(resp.status_code)

View File

@ -40,7 +40,7 @@ def test():
}, },
} }
} }
req = Request('POST', 'http://localhost/api/v1.0/show-case/batch-models', json=data, auth=('qwe', 'qwe')) req = Request('POST', 'https://new2.spavto96.ru/api/v1.0/show-case/batch-models', json=data, auth=('qwe', 'qwe'))
prepped = req.prepare() prepped = req.prepare()
resp = s.send(prepped) resp = s.send(prepped)
print(resp.status_code) print(resp.status_code)

View File

@ -14,7 +14,7 @@ def test():
'id': id, 'id': id,
'file_name': id_generator(16) + '.jpg', 'file_name': id_generator(16) + '.jpg',
} }
req = Request('POST', 'http://localhost/api/v1.0/show-case/picture', json=data, auth=('qwe', 'qwe')) req = Request('POST', 'https://new2.spavto96.ru/api/v1.0/show-case/picture', json=data, auth=('qwe', 'qwe'))
prepped = req.prepare() prepped = req.prepare()
resp = s.send(prepped) resp = s.send(prepped)
print(resp.status_code) print(resp.status_code)

View File

@ -41,7 +41,7 @@ def test():
3: get_data() 3: get_data()
} }
} }
req = Request('POST', 'http://localhost/api/v1.0/show-case/batch-products', json=data, auth=('qwe', 'qwe')) req = Request('POST', 'https://new2.spavto96.ru/api/v1.0/show-case/batch-products', json=data, auth=('qwe', 'qwe'))
prepped = req.prepare() prepped = req.prepare()
resp = s.send(prepped) resp = s.send(prepped)
print(resp.status_code) print(resp.status_code)

View File

@ -18,7 +18,7 @@ def test():
'picture_id': 'picture_75g36ayxk9yvl8lz', 'picture_id': 'picture_75g36ayxk9yvl8lz',
'type': 10, 'type': 10,
} }
req = Request('POST', 'http://localhost/api/v1.0/show-case/brand', json=data, auth=('qwe', 'qwe')) req = Request('POST', 'https://new2.spavto96.ru/api/v1.0/show-case/brand', json=data, auth=('qwe', 'qwe'))
prepped = req.prepare() prepped = req.prepare()
resp = s.send(prepped) resp = s.send(prepped)
print(resp.status_code) print(resp.status_code)

View File

@ -16,7 +16,7 @@ def test():
'url': id_generator(16), 'url': id_generator(16),
'picture_src': id_generator(16) + '.jpg', 'picture_src': id_generator(16) + '.jpg',
} }
req = Request('POST', 'http://localhost/api/v1.0/show-case/group', json=data, auth=('qwe', 'qwe')) req = Request('POST', 'https://new2.spavto96.ru/api/v1.0/show-case/group', json=data, auth=('qwe', 'qwe'))
prepped = req.prepare() prepped = req.prepare()
resp = s.send(prepped) resp = s.send(prepped)
print(resp.status_code) print(resp.status_code)

View File

@ -19,7 +19,7 @@ def test():
'brand_id': 'brand_rbmjh7flxc9zgr0r', 'brand_id': 'brand_rbmjh7flxc9zgr0r',
'picture_id': 'picture_75g36ayxk9yvl8lz', 'picture_id': 'picture_75g36ayxk9yvl8lz',
} }
req = Request('POST', 'http://localhost/api/v1.0/show-case/model', json=data, auth=('qwe', 'qwe')) req = Request('POST', 'https://new2.spavto96.ru/api/v1.0/show-case/model', json=data, auth=('qwe', 'qwe'))
prepped = req.prepare() prepped = req.prepare()
resp = s.send(prepped) resp = s.send(prepped)
print(resp.status_code) print(resp.status_code)

View File

@ -21,7 +21,7 @@ def test():
} }
} }
} }
req = Request('POST', 'http://localhost/api/v1.0/show-case/batch-pictures', json=data, auth=('qwe', 'qwe')) req = Request('POST', 'https://new2.spavto96.ru/api/v1.0/show-case/batch-pictures', json=data, auth=('qwe', 'qwe'))
prepped = req.prepare() prepped = req.prepare()
resp = s.send(prepped) resp = s.send(prepped)
print(resp.status_code) print(resp.status_code)

View File

@ -31,7 +31,7 @@ def test():
'right': 0, 'right': 0,
} }
} }
req = Request('POST', 'http://localhost/api/v1.0/show-case/product', json=data, auth=('qwe', 'qwe')) req = Request('POST', 'https://new2.spavto96.ru/api/v1.0/show-case/product', json=data, auth=('qwe', 'qwe'))
prepped = req.prepare() prepped = req.prepare()
resp = s.send(prepped) resp = s.send(prepped)
print(resp.status_code) print(resp.status_code)