| 123456789101112131415161718192021222324 |
- import requests
- import json
- url = "http://127.0.0.1:7960/brandcultivation/api/v1/recommend"
- payload = {
- "city_uuid": "00000000000000000000000011445301",
- "product_code": "440298",
- "recall_cust_count": 100,
- "delivery_count": 200
- }
- headers = {'Content-Type': 'application/json'}
- response = requests.post(url, data=json.dumps(payload), headers=headers)
- print(response.json())
- # url = "http://127.0.0.1:7960/brandcultivation/api/v1/report"
- # payload = {
- # "city_uuid": "00000000000000000000000011445301",
- # "product_code": "440298",
- # }
- # headers = {'Content-Type': 'application/json'}
- # response = requests.post(url, data=json.dumps(payload), headers=headers)
- # print(response.json())
|