Http delete method wrapper, to support delete.

def delete(self, url):
        """Http delete method wrapper, to support delete.
        """
        try:
            res = requests.delete(url, headers=self.headers)
            return json.loads(res.text)
        except Exception as e:
            print(e)
            return "error"