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