Adding login via email/password parameters
This commit is contained in:
parent
7905b80df4
commit
fb46e64725
3 changed files with 134 additions and 31 deletions
|
@ -1,18 +1,40 @@
|
|||
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
|
||||
<h2>Search Web Service</h2>
|
||||
<h1>Search Web Service</h1>
|
||||
|
||||
<p>Add information here about how to use the Search Web Service.</p>
|
||||
<#if msg?has_content >
|
||||
<h2>Message:</h2>
|
||||
<p>${msg}</p>
|
||||
</#if>
|
||||
|
||||
<p>*** FOLLOWING FORM IS TOTALLY MESSED UP WITH A HARDCODED URL ***</p>
|
||||
<h2>Update Search Index for URIs</h2>
|
||||
|
||||
<form
|
||||
action="http://localhost:8080/vivo/searchService/updateUrisInSearch"
|
||||
<p>This service will update the search index for the list of URIs it
|
||||
receives. It expectes a POST with an encoding of
|
||||
multpart/form-data. The service inspect all parts of this POST for
|
||||
lists of URIs to reindex. The URIs should be comma or space
|
||||
seperated. If no information can be found for a URI it will be
|
||||
ignored.</p>
|
||||
|
||||
<p>The request parameters email and password allow the form to be submitted
|
||||
for a user account. Only internal accounts are supported, external authentication
|
||||
is not supported.</p>
|
||||
|
||||
<h2>Example form for Update Search Index for URIs</h2>
|
||||
<p>The following form will post to the Update URIs in search service.</p>
|
||||
|
||||
<form action="${urls.base}/searchService/updateUrisInSearch"
|
||||
enctype="multipart/form-data"
|
||||
method="post">
|
||||
|
||||
<label for="email">Account email</label>
|
||||
<input type="text" name="email" id="email"/>
|
||||
|
||||
<label for="password">Account password</label>
|
||||
<input type="text" name="password" id="password"/>
|
||||
|
||||
<label for="urisToUpdate">List of URIs to update in the search index</label>
|
||||
<textarea name="urisToUpdate" id="urisToUpdate" rows="4" cols="50" ></textarea>
|
||||
|
||||
<input type="textarea" name="urisToUpdate"/>
|
||||
<button type="submit">submit</button>
|
||||
|
||||
</form>
|
||||
|
||||
</form>
|
Loading…
Add table
Add a link
Reference in a new issue