diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/api_bootos_test.html | 15 | ||||
-rw-r--r-- | scripts/api_preboot_test.html | 7 |
2 files changed, 22 insertions, 0 deletions
diff --git a/scripts/api_bootos_test.html b/scripts/api_bootos_test.html new file mode 100644 index 0000000..e48fb21 --- /dev/null +++ b/scripts/api_bootos_test.html @@ -0,0 +1,15 @@ +<form enctype='multipart/form-data' action='http://127.0.0.2/resource/addbootos/apikey/apikey1' method='POST'> +Title:<input name='title' type='text'/> +Description:<input name='description' type='text'/> +Expires:<input name='expires' type='text'/> +KCL:<input name='defaultkcl' type='text'/> +Distro:<input name='distro' type='text'/> +Distro-Version:<input name='distroversion' type='text'/> +Share:<input name='share' type='text'/> +Shortname:<input name='shortname' type='text'/> +Config File:<input name='config' type='file'/> +Kernel File:<input name='kernel' type='file'/> +Init File:<input name='init' type='file'/> +<input type='submit' value='Upload'/> +</form> +<style>input{display:block}</style> diff --git a/scripts/api_preboot_test.html b/scripts/api_preboot_test.html new file mode 100644 index 0000000..5c3805b --- /dev/null +++ b/scripts/api_preboot_test.html @@ -0,0 +1,7 @@ +<form enctype='multipart/form-data' action='http://127.0.0.2/resource/addpreboot/apikey/apikey1' method='POST'> +Title:<input name='title' type='text'/> +Description:<input name='description' type='text'/> +Preboot File:<input name='preboot' type='file'/> +<input type='submit' value='Upload'/> +</form> +<style>input{display:block}</style> |