Introduced experimental API method and fixture system
Change-Id: Iffb6d3c4f7f21bcf40c904d40d137b206a3ba266
diff --git a/templates/query2.html.ep b/templates/query2.html.ep
new file mode 100644
index 0000000..fa9980c
--- /dev/null
+++ b/templates/query2.html.ep
@@ -0,0 +1,9 @@
+% use Mojo::JSON 'encode_json';
+
+% if (stash('api_response')) {
+%= javascript begin
+% my $kq_hash = stash('api_response');
+% $kq_hash->{matches} = ["..."];
+ KorAP.koralQuery = <%= b(encode_json($kq_hash))->decode %>;
+% end
+% };