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