File size: 269 Bytes
35b1c40
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import requests


URL = "http://127.0.0.1:8080"
headers = {'accept': 'application/json'}


request_data = {
    "call_id": "TESTID000001"
}

response = requests.post(URL+'/call/', headers=headers, params=request_data)
print(response)
assert response.status_code == 201