Schema for Server API Endpoints POST /dfa Takes DFA Model and example input string as parameters { "model": { "inputs": [], "inputstate": , "finalstates": [], "transit-table": { "": [], "": [], } }, "input": "" } Returns whether the string has been accepted or not. Returns error (if any). { "accepted": "True" } OR { "error": "" } POST /nfa Takes NFA Model and example input string as parameters { "model": { "inputs": [], "inputstate": , "finalstates": [], "transit-table": { "": [], "": [], } }, "input": "" } Returns whether the string has been accepted or. Returns error (if any). { "accepted": "" } OR { "error": "" }