def send_status_update(status):

    try:

        data = {
                "node_id" : config.NODE_ID,
                "skey" : sha256(config.SERVER_KEY).hexdigest(),
                "state" : status 
        }

        url = "http://{0}:{1}/status/".format(config.SERVER_IP, config.SERVER_PORT)
        response = requests.post(url, data=json.dumps(data))
        if response.status_code is 200 and "Node Updated" in response.content:
            utility.msg("Status '%s' updated" % status, LOG)
        else:
            utility.msg("Failed to submit status: %s" % response.content, ERROR)

    except Exception, e:
        utility.msg("Failed to send status update: %s" % e, ERROR)
Update the server with a fuzzer's status
dataset/ETHPy150Open hatRiot/PeachOrchard/node/src/core/node_resource.py/send_status_update