去除wcf对象
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import requests
|
||||
import json
|
||||
|
||||
url = "/contacts/fetchContactsList"
|
||||
url = "/login/deviceList"
|
||||
|
||||
base_url="http://192.168.2.240:2531/v2/api"
|
||||
payload = json.dumps({
|
||||
"appId": "wx_3BC6eSHGE5xEm_hH3__7c"
|
||||
|
||||
})
|
||||
|
||||
headers = {
|
||||
@@ -15,4 +15,6 @@ headers = {
|
||||
|
||||
response = requests.request("POST", base_url+url, headers=headers, data=payload)
|
||||
|
||||
print(response.text)
|
||||
print(response.text)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user