Sha256: cb820c264621afb2cb190b4e8ce50ba4f71dfe0d57dd4d3418aee639bd298baa

Contents?: true

Size: 1.6 KB

Versions: 2

Compression:

Stored size: 1.6 KB

Contents

<!DOCTYPE html>
<html>
    <head>
        <link type="text/css" rel="stylesheet" href="markdown.css" />

        <title>Coreference Webservice</title>
    </head>
    <body>
        <h1>Coreference Webservice</h1>

        <p>
        * required

        <br />

        ** When entering a value no response will be displayed in the browser.
        </p>

        <form action="" method="POST">
            <div>
                <label for="input">KAF input *</label>
                <br />

                <textarea id="input" name="input" cols="50" rows="10"></textarea>
            </div>

            <div>
                <label for="callbacks">Callback URL (**)</label>
                <br />

                <input id="callbacks" type="text" name="callbacks" />
            </div>

            <div>
                <label for="error_callback">Error Callback</label>
                <br />

                <input id="error_callback" type="text" name="error_callback" />
            </div>

            <input type="submit" value="Submit" />
        </form>

        <h2>Actions</h2>

        <dl>
            <dt>GET /</dt>
            <dd>Shows this page</dd>

            <dt>POST /</dt>
            <dd>Submits a KAF document</dd>
        </dl>

        <h2>Parameters</h2>

        <dl>
            <dt>text *</dt>
            <dd>The KAF document to tag.</dd>

            <dt>callbacks</dt>
            <dd>A collection of callback URLs that are processed as a chain.</dd>

            <dt>error_callback</dt>
            <dd>Errors are submitted to this URL in the "error" field.</dd>
        </dl>
    </body>
</html>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
opener-coreference-1.1.2 lib/opener/coreference/views/index.erb
opener-coreference-1.1.1 lib/opener/coreference/views/index.erb