(request, backend_id=None)
sender - the number of the person sending the sms
    receiver - the number the sms was sent to
    msgdata - the message
sender - the number of the person sending the sms
    receiver - the number the sms was sent to
    msgdata - the message
sender - the number of the person sending the sms receiver - the number the sms was sent to msgdata - the message
def sms_in(request, backend_id=None):
    """
    sender - the number of the person sending the sms
    receiver - the number the sms was sent to
    msgdata - the message
    """
    sender = request.GET.get("sender", None)
    receiver = request.GET.get("receiver", None)
    msgdata = request.GET.get("msgdata", None)
    if sender is None or msgdata is None:
        return HttpResponse(status=400)
    else:
        cleaned_text = convert_raw_string(msgdata)
        incoming_sms(sender, cleaned_text, SQLSislogBackend.get_api_id(), raw_text=msgdata, backend_id=backend_id)
        return HttpResponse()
def sms_in ( request , backend_id = None ) : sender = request . GET . get ( "sender" , None ) receiver = request . GET . get ( "receiver" , None ) msgdata = request . GET . get ( "msgdata" , None ) if sender is None or msgdata is None : return HttpResponse ( status = 400 ) else : cleaned_text = convert_raw_string ( msgdata ) incoming_sms ( sender , cleaned_text , SQLSislogBackend . get_api_id ( ) , raw_text = msgdata , backend_id = backend_id ) return HttpResponse ( )