Spaces:
Sleeping
Sleeping
import requests | |
import json | |
url = "https://101smokeshop-uat.revelup.com/enterprise/User/?is_active=true&limit=20&offset=0&order_by=last_login" | |
payload = {} | |
headers = { | |
'content-type': 'application/json', | |
'API-AUTHENTICATION': 'fab57498544244e38bfc2741880f8d61:ed9628295b0642e1b38308795c9cdadd58012df4ceb84a3b9d441c017a1eeac0' | |
} | |
response = requests.request("GET", url, headers=headers, data=payload) | |
print(response.text) | |
url = "https://101smokeshop-uat.revelup.com/resources/Product/53/" | |
payload = {} | |
headers = { | |
'API-AUTHENTICATION': 'fab57498544244e38bfc2741880f8d61:ed9628295b0642e1b38308795c9cdadd58012df4ceb84a3b9d441c017a1eeac0' | |
} | |
response = requests.request("GET", url, headers=headers, data=payload) | |
print(response.text) | |
url = "https://101smokeshop-uat.revelup.com/products/ProductCategory/" | |
payload = {} | |
headers = { | |
'API-AUTHENTICATION': 'fab57498544244e38bfc2741880f8d61:ed9628295b0642e1b38308795c9cdadd58012df4ceb84a3b9d441c017a1eeac0' | |
} | |
response = requests.request("GET", url, headers=headers, data=payload) | |
print(response.text) | |
url = "https://101smokeshop-uat.revelup.com/enterprise/Establishment/?order_by=id&limit=20&offset=0" | |
payload = {} | |
headers = { | |
'API-AUTHENTICATION': 'fab57498544244e38bfc2741880f8d61:ed9628295b0642e1b38308795c9cdadd58012df4ceb84a3b9d441c017a1eeac0' | |
} | |
response = requests.request("GET", url, headers=headers, data=payload) | |
print(response.text) | |
url = "https://101smokeshop-uat.revelup.com/enterprise/Establishment/3/" | |
payload = {} | |
headers = { | |
'API-AUTHENTICATION': 'fab57498544244e38bfc2741880f8d61:ed9628295b0642e1b38308795c9cdadd58012df4ceb84a3b9d441c017a1eeac0' | |
} | |
response = requests.request("GET", url, headers=headers, data=payload) | |
print(response.text) | |
url = "https://101smokeshop-uat.revelup.com/resources/Inventory/?limit=20&offset=0" | |
payload = {} | |
headers = { | |
'API-AUTHENTICATION': 'fab57498544244e38bfc2741880f8d61:ed9628295b0642e1b38308795c9cdadd58012df4ceb84a3b9d441c017a1eeac0' | |
} | |
response = requests.request("GET", url, headers=headers, data=payload) | |
print(response.text) | |
url = "https://101smokeshop-uat.revelup.com/resources/Product/1/" | |
payload = {} | |
headers = { | |
'API-AUTHENTICATION': 'fab57498544244e38bfc2741880f8d61:ed9628295b0642e1b38308795c9cdadd58012df4ceb84a3b9d441c017a1eeac0' | |
} | |
response = requests.request("GET", url, headers=headers, data=payload) | |
print(response.text) | |