v1.0.0: index.cfm
This commit is contained in:
@@ -1,19 +1 @@
|
|||||||
<cfsetting showdebugoutput="no" enablecfoutputonly="yes">
|
<cfsetting showdebugoutput=no enablecfoutputonly=yes><cfoutput>OK v1.0.0</cfoutput>
|
||||||
|
|
||||||
<cfoutput>
|
|
||||||
<!DOCTYPE html>
|
|
||||||
<html lang="ru">
|
|
||||||
<head><meta charset="UTF-8"><title>Contractor — Lucee</title></head>
|
|
||||||
<body>
|
|
||||||
<h1>Contractor API</h1>
|
|
||||||
<p>API для сверки договоров — Lucee 6.0</p>
|
|
||||||
<ul>
|
|
||||||
<li><a href="/rest/db/test">GET /rest/db/test</a> — проверка БД</li>
|
|
||||||
<li><a href="/rest/db/tables">GET /rest/db/tables</a> — список таблиц</li>
|
|
||||||
<li><a href="/rest/db/schema">GET /rest/db/schema</a> — создать схему</li>
|
|
||||||
<li>GET /rest/db/query?sql=SELECT...</li>
|
|
||||||
<li>POST /rest/db/execute — {"sql":"...", "params":[...]}</li>
|
|
||||||
</ul>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
</cfoutput>
|
|
||||||
|
|||||||
Reference in New Issue
Block a user