diff --git a/src/templates/mybase.html b/src/templates/mybase.html index f4fddae..41a31e6 100644 --- a/src/templates/mybase.html +++ b/src/templates/mybase.html @@ -28,6 +28,7 @@
diff --git a/src/templates/upload.html b/src/templates/upload.html new file mode 100644 index 0000000..837e527 --- /dev/null +++ b/src/templates/upload.html @@ -0,0 +1,12 @@ +{% extends "mybase.html" %} +{% block title %}FOTB - Uploading{% endblock %} + +{% block main %} +{{ super() }} +Uploading data is simple, all you need to is send a POST request with content-type application/json
to this URL.
Your JSON must respect all the required fields.
+Example: curl -H "Content-Type: application/json" -X POST -d '{"gpu":"GPU DUMMY TEXT","cpu":"CPU DUMMY TEXT","log":"So this will be a detailed log.","score": 1}' http://localhost:5000/upload