import requests
import json


def put(url, data = {}):
    """
    Submit http put to a URL and parse the JSON that's returned
    :param url: The URL to submit put to
    :return: The JSON response
    """
    r = requests.put(url, data)
    return json.loads(r.text)