response.text
parent
62a80cd000
commit
3eb207a388
3
app.py
3
app.py
|
@ -172,9 +172,8 @@ def post_request(url, data):
|
||||||
"Content-Type": "application/json"
|
"Content-Type": "application/json"
|
||||||
}
|
}
|
||||||
response = requests.post(url, data=data,headers=headers)
|
response = requests.post(url, data=data,headers=headers)
|
||||||
print(response.text)
|
|
||||||
use += " post:"+str((time.time()*1000) - bgn + "ms")
|
use += " post:"+str((time.time()*1000) - bgn + "ms")
|
||||||
print("post_request",use)
|
print("post_request",use,response.text)
|
||||||
|
|
||||||
# import pstats
|
# import pstats
|
||||||
# import cProfile
|
# import cProfile
|
||||||
|
|
Loading…
Reference in New Issue