gitapp / request.py
dhavalsavalia's picture
Optimize Server Handeling and Requests payload
ae77f8e
raw
history blame
193 Bytes
import requests
# URL
url = 'http://localhost:5000/api/'
# Change the value of experience that you want to test
payload = {
'exp':1.8
}
r = requests.post(url,json=payload)
print(r.json())