@classmethod
    def send_to_websocket_server(cls, internal_url, data):
        request = urllib2.Request(internal_url, data,
                                  {'Content-Type': 'application/json'})

        response = urllib2.urlopen(request, json.dumps(data))

        return response
Builds the ItemRequest
dataset/ETHPy150Open nickjj/build-a-saas-app-with-flask/catwatch/blueprints/stream/broadcast.py/Broadcast.send_to_websocket_server--crossover with--dataset/ETHPy150Open OneDrive/onedrive-sdk-python/src/python2/request/item_request_builder.py/ItemRequestBuilder.request