unified API style
This commit is contained in:
parent
3075c0c5da
commit
d3c654c253
2
app.py
2
app.py
@ -22,7 +22,7 @@ def api_root():
|
|||||||
"device_url_POST": {"output": "<value>"}
|
"device_url_POST": {"output": "<value>"}
|
||||||
}
|
}
|
||||||
|
|
||||||
@app.route('/XML', methods=["GET","POST"])
|
@app.route('/XML/', methods=["GET","POST"])
|
||||||
def xml_transfer():
|
def xml_transfer():
|
||||||
try:
|
try:
|
||||||
#return the current config.xml
|
#return the current config.xml
|
||||||
|
Loading…
x
Reference in New Issue
Block a user