You've already forked STARK
mirror of
https://github.com/MarkParker5/STARK.git
synced 2025-11-23 21:34:45 +02:00
15 lines
398 B
Python
15 lines
398 B
Python
from django.shortcuts import render
|
|
from django.http import HttpResponse
|
|
# Archie
|
|
from Command import Command
|
|
import modules
|
|
import json
|
|
|
|
def index(request):
|
|
text = request.GET.get("text")
|
|
if text == None: return HttpResponse("")
|
|
cmd, params = Command.reg_find(text).values()
|
|
responce = cmd.start(params)
|
|
json_string = json.dumps(responce)
|
|
return HttpResponse(json_string)
|