diff --git a/src/sipcentric/__init__.py b/src/sipcentric/__init__.py index 87acb02..8c07c98 100644 --- a/src/sipcentric/__init__.py +++ b/src/sipcentric/__init__.py @@ -65,7 +65,7 @@ class API(object): kwargs.update(headers=headers,data=json.dumps(data)) elif method == "PUT": - fn = requests.post + fn = requests.put headers = {"content-type": "application/json"} kwargs.update(headers=headers,data=json.dumps(data))