Пример #1
0
def incoming(request):
    """
    The inbound endpoint for UNICEL's API.
    """
    # for now just save this information in the message log and return
    message = create_from_request(request)
    return HttpResponse(json.dumps({'status': 'success', 'message_id': message.couch_id}), 'text/json')
Пример #2
0
def incoming(request):
    """
    The inbound endpoint for UNICEL's API.
    """
    # for now just save this information in the message log and return
    message = create_from_request(request)
    return HttpResponse(json.dumps({'status': 'success', 'message_id': message.couch_id}), 'text/json')