def METHOD_NAME(url, data):
    print("POST %s" % url)
    req = Request(url)
    req.add_header("Content-Type", "application/json")
    try:
        urlopen(req, json.dumps(data).encode("utf-8"))
    except Exception as e:
        print(e.read().decode())
    print("Done")