Пример #1
0
def testReceiveJSON(filename):
    f = open(filename,'r')
    text = f.read()
    logJSON(text)
Пример #2
0
def receivePostJSON(request):
    logJSON(request.POST['text'])
    return HttpResponse("your concerns will be noted in the captain's log :)")