Header set Access-Control-Allow-Origin "*"
WSGIProcessGroup /apache-flask
@@ -26,7 +37,7 @@
Alias /static /var/www/apache-flask/app/static
# ErrorLog ${APACHE_LOG_DIR}/error.log
ErrorLog /dev/stderr
- LogLevel warn
+ LogLevel debug
# CustomLog ${APACHE_LOG_DIR}/access.log combined
TransferLog /dev/stdout
CustomLog /dev/stdout combined
diff --git a/src/app/static/index.html b/src/app/static/index.html
index 3efa2e1..4909443 100644
--- a/src/app/static/index.html
+++ b/src/app/static/index.html
@@ -33,18 +33,20 @@
curl -X POST "http://<host>:<port>/wireviz/" -H "Content-Type: multipart/form-data" -H "accept: image/svg+xml" -F "yml_file=@<input_file>.yml;type=application/x-yaml" -o <output_file>.svg
If there is no preference specified - the result will be a nice PNG image:
curl -X POST "http://<host>:<port>/wireviz/" -H "Content-Type: multipart/form-data" -F "yml_file=@<input_file>.yml;type=application/x-yaml" -o <output_file>.png
+ If you want, you can also play around with the Swagger UI!