science-ation/testapi.php
james 959843d4c4 Add a simple API test page for checking some api calls
Update /api/dates to use current conference id if one isnt specificed
2010-09-02 18:53:48 +00:00

28 lines
613 B
PHP

<html><body>
Login Check
<form method="post" action="api/auth/login">
<input type="text" name="username">
<input type="password" name="password">
<input type="submit" value="Login">
</form>
Logout Check
<form method="post" action="api/auth/logout">
<input type="submit" value="Logout">
</form>
<a href="api/conferences">Conference List</a><br />
Switch Conference Check
<form method="post" action="api/conferences/switch">
<input type="text" size=2 name="conferences_id">
<input type="submit" value="Switch Conference">
</form>
<a href="api/dates">Dates List (current conference)</a><br />
</body>
</html>